WCAG 2.0 · Level A · Operable
WCAG 2.1.2 — No Keyboard Trap
Keyboard focus must never get stuck in a component with no way out.
WCAG 2.1.2 at a glance
Level A · Principle: Operable · Added in WCAG 2.0. Level A is the minimum — failing it blocks some users entirely.
What it means
Keyboard focus must never get stuck in a component with no way out.
Who it helps
Keyboard and screen-reader users.
Common failures
- Modals that trap Tab with no Escape
- Embedded widgets that capture focus permanently
How to meet WCAG 2.1.2
- Ensure focus can move away with Tab/Escape
- Implement proper modal focus management
How to test it
Manual — Tab through every component and confirm you can leave.