2.1 Keyboard Accessible · Operable
WCAG 2.1.2 No Keyboard Trap
Level A
Keyboard users must be able to navigate away from any component using only the keyboard. If escape requires a non-standard key, the user must be told how.
Common failures
- Modal dialogs trap focus with no Escape handler.
- Embedded media players capture Tab and never release it.
How to fix
- Wire Escape to close every modal and overlay.
- Test each interactive component by keyboard-only navigation, top to bottom.
Related criteria
- WCAG 2.1.1 Keyboard Level A