Skip to main content
WCAG 2.1.1 · Level AOperable · WCAG 2.0ADA Title II / WCAG 2.1 AAEAA · EN 301 549 9.2.1.1Section 508

WCAG 2.1.1: Keyboard

Tests mouse-only clickable divs, role='button' Enter/Space execution, and Escape dismissal on dialogs.

Which free accessibility tools actually catch WCAG 2.1.1?

Empirically measured live against our public standalone test page (/wcagbench/suite).

WB-09Modal dialog ignores Escape key

Clicking the dialog trigger opens role=dialog aria-modal=true with no Escape key close handler.

Selector: div#wb-promo-modal · User impact: Keyboard / Screen-Reader

WCAGBenchCaught
LighthouseMissed
Siteimprove AlfaMissed
IBM Equal AccessMissed
axe FreeMissed
Pa11yMissed
WB-19Clickable <div style='cursor:pointer'> unreachable by Tab

Custom JS click handler wired to a plain <div> with cursor: pointer and no button role or tabindex.

Selector: div#wb-clickable-div · User impact: Keyboard / Switch Users

WCAGBenchCaught
LighthouseMissed
Siteimprove AlfaMissed
IBM Equal AccessMissed
axe FreeMissed
Pa11yMissed
WB-41Custom role='button' ignores Enter and Space keys

Span with role='button' tabindex='0' handles mouse click but ignores Enter and Space keydown, silently failing for keyboard users.

Selector: span#wb-broken-role-button · User impact: Keyboard / Switch Users

WCAGBenchCaught
LighthouseMissed
Siteimprove AlfaCaught
IBM Equal AccessMissed
axe FreeMissed
Pa11yMissed

Run an automated check for WCAG 2.1.1 in CI or locally

Active WCAGBench detector rule(s): sim-clickable-div-unreachable, sim-role-button-no-keyboard, sim-modal-escape-failed. Free for personal and non-commercial use.

npx @wcagbench/cli scan https://yoursite.com

Need a formal human + screen-reader verification or VPAT covering WCAG 2.1.1? Request a paid audit consultation.

WCAG 2.1.1 Keyboard (Level A): How to Test & Fix | WCAGBench