Skip to main content
AccessProof
WCAG 2.1.2 (Level A)EN 301 549 Sec. 9.2.1.2

No Keyboard Trap: Newsletter Popups & Cart Drawers Trapping Tab

Discount popups that cannot be dismissed via the Escape key or clean focus cycling lock keyboard shoppers out of the store.

Enforcement & Lawsuit Signal: Classic high-settlement factual allegation in plaintiff complaints.

Failing Markup Pattern

<div class="promo-modal"><!-- No Escape handler and hidden X icon --></div>

Compliant WCAG 2.2 / EAA Pattern

<dialog aria-labelledby="promo-title" onKeyDown={(e) => e.key === 'Escape' && close()}>
  <button type="button" onClick={close}>No thanks, close offer</button>
</dialog>

Manual Assistive-Tech QA Check

Trigger promo popups in an incognito window and dismiss using only Tab, Enter, and Escape.

Check Your Live Website for WCAG 2.1.2 + 11 Other Crawler Triggers

Run a free 3-second URL scan or activate your hosted Accessibility Statement portal.