WCAG 2.1.2
Level A
Operable
2.1.2 No Keyboard Trap
Keyboard focus can move away from any component using standard keys.
What 2.1.2 No Keyboard Trap means
Users never get stuck inside a widget with no way out.
How to test
Tab into every component (menus, modals, players) and confirm you can Tab/Escape back out.
How to meet it
Ensure custom widgets release focus; implement correct focus management for modals and menus.
Need help meeting 2.1.2?
Our IAAP-certified team audits your website and apps against every WCAG 2.2 criterion and delivers code-level remediation.
Official reference: Understanding 2.1.2 No Keyboard Trap (W3C)
More Operable criteria
2.1.1 Keyboard
2.1.4 Character Key Shortcuts
2.2.1 Timing Adjustable
2.2.2 Pause, Stop, Hide
2.3.1 Three Flashes or Below Threshold
2.4.1 Bypass Blocks
2.4.2 Page Titled
2.4.3 Focus Order
2.4.4 Link Purpose (In Context)
2.4.5 Multiple Ways
2.4.6 Headings and Labels
2.4.7 Focus Visible
2.4.11 Focus Not Obscured (Minimum)
2.5.1 Pointer Gestures
2.5.2 Pointer Cancellation
2.5.3 Label in Name
2.5.4 Motion Actuation
2.5.7 Dragging Movements
2.5.8 Target Size (Minimum)