# WCAGBench (v4.0) Complete Technical Reference: 55/55 W3C WCAG 2.2 AA Criteria Canonical URL: https://wcagbench.com/wcagbench Public Live Test Suite URL: https://wcagbench.com/wcagbench/suite Machine-Readable JSON Dataset: https://wcagbench.com/wcagbench/results.json Official W3C WCAG 2.2 Spec: https://www.w3.org/TR/WCAG22/ Generated UTC: 2026-12-04T02:27:28.190Z Official W3C WCAG 2.2 Level A + AA Active Criteria Covered: 55/55 (100%) Total Live Verifiable Test Fixtures: 68 ## Methodology 1. Isolated Fixture: Every defect is planted in a single, self-contained HTML5 page (/wcagbench/suite) with zero external framework chrome or third-party trackers, each tagged with a unique data-wcagbench-id (WB-01 through WB-68). 2. Human-Disability Grounding: Each defect corresponds to a real barrier encountered by blind/screen-reader users, keyboard-only and motor-impaired users, voice-control (Dragon) users, low-vision/magnifier and color-blind users, deaf/hard-of-hearing users, vestibular/motion-sensitive users, cognitive/memory-impaired users, or wheelchair/mounted-tablet users. 3. Apples-to-Apples Live Execution: WCAGBench (@wcagbench/engine), axe-core (axe DevTools Free engine), Google Lighthouse (desktop accessibility preset), and Pa11y (HTML_CodeSniffer WCAG2AA) are executed against the exact same live HTTP document in Chromium via src/scripts/run-wcagbench.ts. WebAIM WAVE lacks a free local CLI and is clearly marked as documented capabilities; anyone can paste /wcagbench/suite into wave.webaim.org to verify. 4. Deterministic Scoring Only: Optional AI/Vision checks are disabled during WCAGBench runs so every tool is compared purely on deterministic, zero-cost automated execution. 5. Scoring Symmetry: All 6 live-executed engines are scored with identical element-level matching against the planted defects, with zero test-page-only hooks. ## Empirical Scoreboard - WCAGBench (Free) (2.0.0, live-run): 62/68 (91%) | Command: npx @wcagbench/cli scan https://wcagbench.com/wcagbench/suite - Google Lighthouse (12.8.2, live-run): 14/68 (21%) | Command: npx lighthouse https://wcagbench.com/wcagbench/suite --only-categories=accessibility --preset=desktop - Siteimprove Alfa (W3C ACT) (0.120.0, live-run): 23/68 (34%) | Command: Audit.of(alfaPage, AlfaRules).evaluate() (@siteimprove/alfa-rules) - IBM Equal Access (4.0.35, live-run): 12/68 (18%) | Command: new ace.Checker().check(document, ['WCAG_2_2']) (accessibility-checker-engine) - Deque axe-core (axe Free) (4.14.1, live-run): 11/68 (16%) | Command: axe.run(document, { runOnly: ['wcag2a','wcag2aa','wcag21a','wcag21aa','wcag22aa'] }) - Pa11y (HTML_CodeSniffer) (WCAG2AA, live-run): 8/68 (12%) | Command: npx pa11y --standard WCAG2AA https://wcagbench.com/wcagbench/suite ## Official W3C WCAG 2.2 Level A & AA Traceability (55/55 Active Criteria) - 1.1.1 Non-text Content (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#non-text-content | Tests: WB-01, WB-21 | Rules: image-alt, sim-useless-alt-text - 1.2.1 Audio-only and Video-only (Prerecorded) (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#audio-only-and-video-only-prerecorded | Tests: WB-43 | Rules: sim-media-missing-transcript - 1.2.2 Captions (Prerecorded) (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#captions-prerecorded | Tests: WB-28 | Rules: sim-video-missing-captions, video-caption - 1.2.3 Audio Description or Media Alternative (Prerecorded) (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#audio-description-or-media-alternative-prerecorded | Tests: WB-44 | Rules: sim-video-missing-audio-description - 1.2.4 Captions (Live) (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#captions-live | Tests: WB-45 | Rules: sim-live-media-missing-captions - 1.2.5 Audio Description (Prerecorded) (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#audio-description-prerecorded | Tests: WB-46 | Rules: sim-video-missing-audio-description - 1.3.1 Info and Relationships (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#info-and-relationships | Tests: WB-11, WB-23, WB-25, WB-26 | Rules: label, heading-order, sim-table-missing-headers, sim-unlabeled-duplicate-landmark - 1.3.2 Meaningful Sequence (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#meaningful-sequence | Tests: WB-47 | Rules: sim-meaningful-sequence-broken - 1.3.3 Sensory Characteristics (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#sensory-characteristics | Tests: WB-48 | Rules: sim-sensory-instructions-only - 1.3.4 Orientation (Level AA, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#orientation | Tests: WB-42 | Rules: sim-orientation-lock - 1.3.5 Identify Input Purpose (Level AA, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#identify-input-purpose | Tests: WB-31 | Rules: sim-missing-autocomplete - 1.4.1 Use of Color (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#use-of-color | Tests: WB-33 | Rules: sim-link-color-only, link-in-text-block - 1.4.2 Audio Control (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#audio-control | Tests: WB-29 | Rules: sim-autoplay-media-unmuted, no-autoplay-audio - 1.4.3 Contrast (Minimum) (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#contrast-minimum | Tests: WB-02, WB-03, WB-34, WB-35 | Rules: color-contrast, sim-placeholder-contrast, sim-gradient-text-contrast - 1.4.4 Resize Text (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#resize-text | Tests: WB-16 | Rules: sim-text-resize-clipped - 1.4.5 Images of Text (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#images-of-text | Tests: WB-49 | Rules: sim-image-of-text - 1.4.10 Reflow (Level AA, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#reflow | Tests: WB-04 | Rules: sim-reflow-horizontal-scroll - 1.4.11 Non-text Contrast (Level AA, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#non-text-contrast | Tests: WB-20, WB-36 | Rules: sim-nontext-contrast, sim-focus-contrast-low - 1.4.12 Text Spacing (Level AA, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#text-spacing | Tests: WB-15 | Rules: sim-text-spacing-clipped - 1.4.13 Content on Hover or Focus (Level AA, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#content-on-hover-or-focus | Tests: WB-18 | Rules: sim-hover-only-content - 2.1.1 Keyboard (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#keyboard | Tests: WB-09, WB-19, WB-41 | Rules: sim-clickable-div-unreachable, sim-role-button-no-keyboard, sim-modal-escape-failed - 2.1.2 No Keyboard Trap (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#no-keyboard-trap | Tests: WB-07 | Rules: sim-keyboard-trap - 2.1.4 Character Key Shortcuts (Level A, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#character-key-shortcuts | Tests: WB-50 | Rules: sim-single-key-shortcut-trap - 2.2.1 Timing Adjustable (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#timing-adjustable | Tests: WB-51 | Rules: sim-timing-not-adjustable, meta-refresh - 2.2.2 Pause, Stop, Hide (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#pause-stop-hide | Tests: WB-30 | Rules: sim-ignores-reduced-motion - 2.3.1 Three Flashes or Below Threshold (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#three-flashes-or-below-threshold | Tests: WB-52 | Rules: sim-flashing-animation-hazard - 2.4.1 Bypass Blocks (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#bypass-blocks | Tests: WB-05 | Rules: sim-missing-skip-link - 2.4.2 Page Titled (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#page-titled | Tests: WB-53 | Rules: document-title, sim-page-title-missing - 2.4.3 Focus Order (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#focus-order | Tests: WB-10, WB-17, WB-40 | Rules: sim-focus-order-jump, sim-modal-focus-not-moved, tabindex - 2.4.4 Link Purpose (In Context) (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#link-purpose-in-context | Tests: WB-22 | Rules: sim-ambiguous-link-text - 2.4.5 Multiple Ways (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#multiple-ways | Tests: WB-54 | Rules: sim-missing-multiple-ways - 2.4.6 Headings and Labels (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#headings-and-labels | Tests: WB-55 | Rules: sim-empty-or-generic-heading-label, empty-heading - 2.4.7 Focus Visible (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#focus-visible | Tests: WB-06 | Rules: sim-focus-not-visible - 2.4.11 Focus Not Obscured (Minimum) (Level AA, WCAG 2.2) | https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum | Tests: WB-14 | Rules: sim-focus-obscured - 2.5.1 Pointer Gestures (Level A, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#pointer-gestures | Tests: WB-56 | Rules: sim-multipoint-gesture-only - 2.5.2 Pointer Cancellation (Level A, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#pointer-cancellation | Tests: WB-57 | Rules: sim-pointer-down-activation - 2.5.3 Label in Name (Level A, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#label-in-name | Tests: WB-37 | Rules: sim-label-in-name-mismatch, label-content-name-mismatch - 2.5.4 Motion Actuation (Level A, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#motion-actuation | Tests: WB-58 | Rules: sim-motion-actuation-no-fallback - 2.5.7 Dragging Movements (Level AA, WCAG 2.2) | https://www.w3.org/TR/WCAG22/#dragging-movements | Tests: WB-38 | Rules: sim-dragging-no-alternative - 2.5.8 Target Size (Minimum) (Level AA, WCAG 2.2) | https://www.w3.org/TR/WCAG22/#target-size-minimum | Tests: WB-08 | Rules: sim-target-size-minimum, target-size - 3.1.1 Language of Page (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#language-of-page | Tests: WB-59 | Rules: html-has-lang, sim-page-lang-missing - 3.1.2 Language of Parts (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#language-of-parts | Tests: WB-60 | Rules: sim-lang-of-parts-missing - 3.2.1 On Focus (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#on-focus | Tests: WB-61 | Rules: sim-context-change-on-focus - 3.2.2 On Input (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#on-input | Tests: WB-62 | Rules: sim-context-change-on-input - 3.2.3 Consistent Navigation (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#consistent-navigation | Tests: WB-63 | Rules: sim-inconsistent-navigation - 3.2.4 Consistent Identification (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#consistent-identification | Tests: WB-64 | Rules: sim-inconsistent-identification - 3.2.6 Consistent Help (Level A, WCAG 2.2) | https://www.w3.org/TR/WCAG22/#consistent-help | Tests: WB-65 | Rules: sim-missing-consistent-help - 3.3.1 Error Identification (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#error-identification | Tests: WB-12 | Rules: sim-form-errors-unannounced - 3.3.2 Labels or Instructions (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#labels-or-instructions | Tests: WB-11 | Rules: label - 3.3.3 Error Suggestion (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#error-suggestion | Tests: WB-66 | Rules: sim-error-missing-suggestion - 3.3.4 Error Prevention (Legal, Financial, Data) (Level AA, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#error-prevention-legal-financial-data | Tests: WB-67 | Rules: sim-irreversible-submission-no-confirm - 3.3.7 Redundant Entry (Level A, WCAG 2.2) | https://www.w3.org/TR/WCAG22/#redundant-entry | Tests: WB-68 | Rules: sim-redundant-entry - 3.3.8 Accessible Authentication (Minimum) (Level AA, WCAG 2.2) | https://www.w3.org/TR/WCAG22/#accessible-authentication-minimum | Tests: WB-32 | Rules: sim-paste-blocked-auth - 4.1.2 Name, Role, Value (Level A, WCAG 2.0) | https://www.w3.org/TR/WCAG22/#name-role-value | Tests: WB-13, WB-24, WB-39 | Rules: button-name, aria-hidden-focus, sim-disclosure-missing-expanded - 4.1.3 Status Messages (Level AA, WCAG 2.1) | https://www.w3.org/TR/WCAG22/#status-messages | Tests: WB-27 | Rules: sim-unannounced-toast - 4.1.1 Parsing (Obsolete and removed in WCAG 2.2 per https://www.w3.org/TR/WCAG22/#parsing) ## Complete Defect Catalog & Tool Detection Matrix ### WB-01: Product image missing alt attribute - WCAG Criterion: 1.1.1 Non-text Content (Level A, WCAG 2.0) - Principle & Category: Perceivable / Static DOM - Real-World User Impact: Blind / Screen-Reader - Selector: img#wb-missing-alt - Planted Failure: Informative product omits the alt attribute entirely. - Detection: WCAGBench=CAUGHT, Lighthouse=CAUGHT, SiteimproveAlfa=CAUGHT, IBMEqualAccess=CAUGHT, axe-core=CAUGHT, Pa11y=CAUGHT, WAVE(docs)=MISSED ### WB-02: Low-contrast desktop body text (2.06:1) - WCAG Criterion: 1.4.3 Contrast (Minimum) (Level AA, WCAG 2.0) - Principle & Category: Perceivable / Static DOM - Real-World User Impact: Low-Vision - Selector: p#wb-low-contrast - Planted Failure: 14px promotional copy uses #b5b5b5 on #ffffff (requires 4.5:1). - Detection: WCAGBench=CAUGHT, Lighthouse=CAUGHT, SiteimproveAlfa=CAUGHT, IBMEqualAccess=CAUGHT, axe-core=CAUGHT, Pa11y=CAUGHT, WAVE(docs)=MISSED ### WB-03: Mobile-only banner fails contrast (1.61:1) - WCAG Criterion: 1.4.3 Contrast on Mobile Breakpoint (Level AA, WCAG 2.0) - Principle & Category: Perceivable / Mobile & orientation - Real-World User Impact: Low-Vision Mobile - Selector: p#wb-mobile-contrast - Planted Failure: Flash banner hidden on desktop (display: none) appears at <=480px with #cccccc on #ffffff. - Detection: WCAGBench=CAUGHT, Lighthouse=MISSED, SiteimproveAlfa=MISSED, IBMEqualAccess=MISSED, axe-core=MISSED, Pa11y=MISSED, WAVE(docs)=MISSED ### WB-04: Horizontal scrolling at 320px viewport - WCAG Criterion: 1.4.10 Reflow (400% Zoom) (Level AA, WCAG 2.1) - Principle & Category: Perceivable / Zoom, spacing & motion - Real-World User Impact: Low-Vision / Magnifier - Selector: div#wb-reflow-overflow - Planted Failure: Fixed width: 560px promo strip forces two-dimensional horizontal scroll at 320px CSS width. - Detection: WCAGBench=CAUGHT, Lighthouse=MISSED, SiteimproveAlfa=MISSED, IBMEqualAccess=MISSED, axe-core=MISSED, Pa11y=MISSED, WAVE(docs)=MISSED ### WB-05: No skip-to-main-content link before 6+ nav links - WCAG Criterion: 2.4.1 Bypass Blocks (Level A, WCAG 2.0) - Principle & Category: Operable / Keyboard & focus - Real-World User Impact: Keyboard / Switch Users - Selector: nav#wb-main-nav - Planted Failure: Top navigation bar contains 6 links with no skip link in the first 3 Tab stops. - Detection: WCAGBench=CAUGHT, Lighthouse=MISSED, SiteimproveAlfa=CAUGHT, IBMEqualAccess=MISSED, axe-core=MISSED, Pa11y=MISSED, WAVE(docs)=MISSED ### WB-06: Keyboard focus outline stripped (outline: none) - WCAG Criterion: 2.4.7 Focus Visible (Level AA, WCAG 2.0) - Principle & Category: Operable / Keyboard & focus - Real-World User Impact: Keyboard / Low-Vision - Selector: nav#wb-main-nav a - Planted Failure: Global CSS sets outline: none; box-shadow: none on focused links and buttons. - Detection: WCAGBench=CAUGHT, Lighthouse=MISSED, SiteimproveAlfa=MISSED, IBMEqualAccess=MISSED, axe-core=MISSED, Pa11y=MISSED, WAVE(docs)=MISSED ### WB-07: Live keyboard focus trap on Tab key - WCAG Criterion: 2.1.2 No Keyboard Trap (Level A, WCAG 2.0) - Principle & Category: Operable / Keyboard & focus - Real-World User Impact: Keyboard / Motor-Impaired - Selector: button#wb-keyboard-trap - Planted Failure: Keydown handler intercepts Tab with preventDefault() and re-focuses the button indefinitely. - Detection: WCAGBench=CAUGHT, Lighthouse=MISSED, SiteimproveAlfa=CAUGHT, IBMEqualAccess=MISSED, axe-core=MISSED, Pa11y=MISSED, WAVE(docs)=MISSED ### WB-08: 16x16px interactive button below 24x24px minimum - WCAG Criterion: 2.5.8 Target Size (Minimum) (Level AA, WCAG 2.2) - Principle & Category: Operable / Mobile & orientation - Real-World User Impact: Motor / Tremor Users - Selector: button#wb-tiny-target - Planted Failure: Adjacent 16x16px icon controls violate WCAG 2.2 minimum 24x24 CSS pixel target size. - Detection: WCAGBench=CAUGHT, Lighthouse=CAUGHT, SiteimproveAlfa=MISSED, IBMEqualAccess=CAUGHT, axe-core=CAUGHT, Pa11y=MISSED, WAVE(docs)=MISSED ### WB-09: Modal dialog ignores Escape key - WCAG Criterion: 2.1.1 Keyboard (Modal Dismissal) (Level A, WCAG 2.0) - Principle & Category: Operable / Modals, hover, auth & forms - Real-World User Impact: Keyboard / Screen-Reader - Selector: div#wb-promo-modal - Planted Failure: Clicking the dialog trigger opens role=dialog aria-modal=true with no Escape key close handler. - Detection: WCAGBench=CAUGHT, Lighthouse=MISSED, SiteimproveAlfa=MISSED, IBMEqualAccess=MISSED, axe-core=MISSED, Pa11y=MISSED, WAVE(docs)=MISSED ### WB-10: Opening modal never moves focus inside dialog - WCAG Criterion: 2.4.3 Focus Order (Modal Focus) (Level A, WCAG 2.0) - Principle & Category: Operable / Modals, hover, auth & forms - Real-World User Impact: Blind / Keyboard Users - Selector: div#wb-promo-modal - Planted Failure: Modal opens visually over the page while keyboard focus remains behind the backdrop. - Detection: WCAGBench=CAUGHT, Lighthouse=MISSED, SiteimproveAlfa=MISSED, IBMEqualAccess=MISSED, axe-core=MISSED, Pa11y=MISSED, WAVE(docs)=MISSED ### WB-11: Email input has visual text but no programmatic label - WCAG Criterion: 3.3.2 Labels or Instructions (Level A, WCAG 2.0) - Principle & Category: Understandable / Static DOM - Real-World User Impact: Blind / Cognitive Users - Selector: input#wb-unlabeled-email - Planted Failure: Required email field sits next to a plain with no