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
It's unclear why we would add this, to me. An input type=hidden could become type=text at a later time, in which case specifying autofocus could be useful.
In other words, I don't think we currently try to prohibit specifying autofocus on hidden elements in general (e.g. <input type=text hidden>), or disabled elements, or similar. I wouldn't want to special case input type=hidden.
https://html.spec.whatwg.org/multipage/input.html#hidden-state-(type=hidden)
↓
The above should be fixed following:
Because it is impossible to focus on input element whose type attribute is in the Hidden state.
The text was updated successfully, but these errors were encountered: