Skip to main content
Grants up to $15,000/year for media
InclusiveWeb
FGlossary

Focus Trap

Focus Trap / Keyboard Trap

A focus trap is a situation where a keyboard user cannot leave an element (modal, widget) using Tab or Escape. WCAG 2.1.2 (A) prohibits focus traps. Exception: modals SHOULD keep focus inside, but MUST have a way to close (Escape).

Make your website accessible in 3 minutes

7-day free trial. All 3 products. No credit card. Instant results.

WCAG 2.1/2.2 AA
EAA 2025 Ready
ДСТУ EN 301 549
Focus Trap — what is it | InclusiveWeb | InclusiveWeb