Add the autofocus() method to the proposal. autofocus() will when given an element adds the autofocus attribute to the element.