You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning!
Use of the autofocus attribute can reduce usability and accessibility for users. Users of assistive technology can be adversively affected, because its use overrides the default behaviour of assistive technology to display content at the top of a document in the viewport, or announce content from the start of the document. Users with cognitive disabilities can also be disorientated by unexpected focus movement upon page load.
User agents should provide a method for users to disable the autofocus attribute behaviour.
The above should be added to section of autofocus attribute in HTML Living Standard too.
Because the above is important usability and accessibility issues.
The text was updated successfully, but these errors were encountered:
At a high level it makes sense as overall advice around focus, perhaps with individual API endpoints such as autofocus and focus() pointing to that advice.
section of autofocus attribute in W3C HTML5.3
http://w3c.github.io/html/sec-forms.html#autofocusing-a-form-control-the-autofocus-attribute
The above should be added to section of autofocus attribute in HTML Living Standard too.
Because the above is important usability and accessibility issues.
The text was updated successfully, but these errors were encountered: