2.1.2 No Keyboard Trap

What WCAG says

If keyboard focus can be moved to a component of the page using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.

Quoted from W3C. More in W3C’s Understanding 2.1.2.

How to check it yourself

  1. Tab through the whole page, including pop-ups, embedded videos and maps.
  2. Can you always Tab (or Esc) back out? If you get stuck somewhere, that’s a failure.

Can an automated test check it?

No. No automated rule can test it, so it needs a person. When it’s part of your target, our scan report lists it in the manual checklist with the steps above.

Scan a web page to see which criteria it fails, or read how the checker works.