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

  1. Ensure focus can move away with Tab/Escape
  2. Implement proper modal focus management

How to test it

Manual — Tab through every component and confirm you can leave.

Frequently asked questions

Is WCAG 2.1.2 Level A or AA?
WCAG 2.1.2 (No Keyboard Trap) is a Level A success criterion, introduced in WCAG 2.0. Level A is the baseline.
How do I test WCAG 2.1.2?
Manual — Tab through every component and confirm you can leave.

Stay ahead of accessibility rules

Practical WCAG, ADA & EAA updates, new free tools, and plain-English guides — occasional emails, no spam.