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
{{ message }}
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.
If the user has indicated (for example, by starting to type in a form control) that he does not wish focus to be changed, then optionally abort these steps.
There needs to be a better explanation of when autofocus shouldn't change the focus. In particular, dragging around user focus can be malicious, and is anti-user behaviour.
So when a user has set a browser preference, or where the user has manually focused a form control, the steps should always be aborted.
In Autofocusing a form control: the autofocus attribute, inserting a control with
autofocus
has the stepThere needs to be a better explanation of when autofocus shouldn't change the focus. In particular, dragging around user focus can be malicious, and is anti-user behaviour.
So when a user has set a browser preference, or where the user has manually focused a form control, the steps should always be aborted.
This is https://www.w3.org/Bugs/Public/show_bug.cgi?id=13572
@cyns
The text was updated successfully, but these errors were encountered: