Keyboard-only users must be able to navigate to and from all parts of a website. No mouse should be necessary to move away from any element of a website.
What to do?
- Unplug your mouse and make sure you can get navigate both forwards and backwards from every element and section of a website
Resources
- Keyboard accessibility overview
- Example of keyboard trap (YouTube – 1 min 4 secs)
- How to use the tabindex attribute to improve usability for keyboard-only users
- Understanding 2.1.2
Plain English Explanation
This success criterion is an extension of the previous one on keyboard accessibility. Here, we’re not only concerned with full access but the ability to withdraw from all elements.
With no keyboard trap, it’s especially important to test any pop-ups, forms, embeds, or widgets on your website to make sure that users can back out of them with ease.