WCAG 2.1.2 No Keyboard Trap

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


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.