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).
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
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
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
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.comNeed a formal human + screen-reader verification or VPAT covering WCAG 2.1.1? Request a paid audit consultation.