This document is in beta. Help us by reporting issues via Github or email
On this page:
Just navigating to an interactive control with the keyboard shouldn’t trigger any action, and shouldn’t move the keyboard focus somewhere else.
When a user interface element receives keyboard focus (for example when users reach it by pressing the ‘Tab’ key, or when they click on it), that should not cause any big change to happen, such as:
Such changes only occur when initiated by the user (e.g. upon activation of a button or link).
This stops unexpected things happening without screen reader and screen magnifer users being aware of it.
3.2.1 On Focus: When any component receives focus, it does not initiate a change of context. (Level A)
See the W3C’s detailed explanation of this guideline with techniques and examples.
This section needs more content. Contribute via Github or email.
This section needs more content. Contribute via Github or email.
This section needs more content. Contribute via Github or email.
focus
or blur
events do not cause dis-orientating events such as:HTMLElement.focus()
methodThis document is in beta. Help us by reporting issues via Github or email