-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move autofocus content attribute to HTMLElement #4563
Comments
It'd be good to improve test coverage and definition of the existing functionality first, as there are various issues, e.g., web-platform-tests/wpt#11193, web-platform-tests/wpt#9440, and #3551. (We should also add it to SVG.) |
Kent has worked to improve the test coverage and definition of existing functionality for autofocus in #4763, but so far no other implementers have been able to make time to signal their interest. Given this, plus the rough consensus at TPAC #833 (comment) , I think we should move forward with moving autofocus="" to HTMLElement. It will be a bit annoying since the pull request for that would be on top of #4763, but I don't think we should block any longer. It's possible both PRs will remain blocked on implementer interest, but I think we should still move forward with spec and test work. |
- Add 'autofocus' to the global attribute list - Move 'autofocus' IDL attribute from HTMLButtonElement, HTMLInputElement, HTMLSelectElement, HTMLTextAreaElement to HTMLOrSVGElement This fixes whatwg#4563
Made a specification PR |
* Add 'autofocus' to the global attribute list * Move 'autofocus' IDL attribute from HTMLButtonElement, HTMLInputElement, HTMLSelectElement, HTMLTextAreaElement to HTMLOrSVGElement Fixes #4563.
* Add 'autofocus' to the global attribute list * Move 'autofocus' IDL attribute from HTMLButtonElement, HTMLInputElement, HTMLSelectElement, HTMLTextAreaElement to HTMLOrSVGElement Fixes #4563.
Any HTML elements can be focusable by
tabindex
attribute orcontenteditable
attribute.autofocus
attribute should be available for all HTML elements.The text was updated successfully, but these errors were encountered: