Adds the 'autofocus' attribute to any focusable HTML or SVG element.
'Autofocus' was previously supported for a limited number of HTML elements, and there were elements which could receive focus but didn't support the 'autofocus' attribute. This feature fixes the inconsistencies.
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 79
- Chrome for Android release 79
- Android WebView release 79
Consensus & Standardization
Search tagsautofocus, focus,
Last updated on 2021-06-28