Status: Experimental pilot. No project-wide WCAG conformance claim. Target: WCAG 2.2 Level AA for the lab interface and its original fixtures, subject to human verification.
What we check
- Every lab route has a route smoke test, a Playwright behavior test where relevant, an axe scan, and a Guidepup virtual transcript when evidence collection runs.
- Disclosure controls are tested with real Enter and Space key presses; form and radio validation are tested through native browser behavior.
- Focus-ring contrast and dark-mode radio/checkbox surface contrast are measured with computed styles, not assumed from token values.
- The preferences panel is tested for keyboard operation, persistence, reset, text size, dark appearance, and no-JavaScript readability.
- The evaluation workspace is tested for URL validation and fallbacks, four comparison modes, keyboard reveal/opacity sliders, 320 CSS-pixel layout, forced-colours visibility, focus-inspector output, copy-link reproduction, named presets, no-JavaScript fallback, and local manual-result export.
- Evaluation tool display is separated from fixture conditions. Fixtures ignore stored lab preferences unless opened with
?prefs=1, so a reviewer's tool setting cannot silently alter the component under test. - Forced colours and increased contrast are only labelled as browser-emulation captures. The live contrast control is explicitly described as fixture CSS, not browser preference emulation.
- Alert declares twelve reproducible states. Axe runs on each state, and the evidence interface classifies baseline-only, experiment-only, and shared findings.
- A separate macOS workflow automates real VoiceOver through Guidepup for Alert, Accordion, and Banner. Its phrase logs are labelled automated AT; they do not complete a manual test and do not replace human screen-reader testing.
- Manual test definitions cite the USWDS component accessibility checklists and relevant WCAG requirements. A person must record a result; "not applicable" requires a justification; results stay local and are never submitted automatically.
- RTL fixtures are tested for direction, language, a mixed-direction sample, logical border placement, and keyboard operation.
- No-JavaScript fixture content stays readable and dead disclosure buttons are removed from the visual and accessibility tree.
- Forced colors and reduced motion are exercised through browser emulation and recorded as emulation, not real-device testing.
- Each component links to the original USWDS implementation and accessibility guidance.
- The Evidence page distinguishes generated observations, collection failures, missing states, and human judgments.
- The landing demo uses identical content on both sides and is tested for OGDS custom-element registration, a visible hybrid difference, keyboard-operable disclosures, and explicit “hybrid, not a full replacement” labelling. Guidepup transcripts do not traverse OGDS shadow DOM, so browser tests, axe, and screenshots are the primary evidence for that page.
- The forms demo uses identical USWDS controls on both sides, visible required labels, native required attributes, an error summary that receives focus, inline errors associated with
aria-describedby,aria-invalid, and a stable polite status region. The form remains native-validation operable when JavaScript is unavailable. OGDS is not used for form controls in beta.2.
What the evaluation workspace does not do
- It does not provide a single accessibility score or percentage.
- It does not treat a missing capture, failed collection, or unrecorded manual test as a pass.
- It does not mirror keyboard input between panes.
- It does not reproduce real screen-reader output, speech input, browser zoom, or Windows High Contrast Mode.
- It does not replace the human decision log.
What we do not claim
Guidepup virtual speech is not a real VoiceOver, NVDA, or JAWS session. Axe is not a conformance determination. Forced-colors emulation is not Windows High Contrast Mode on a real device. The fixtures do not represent the full breadth of implementation contexts, languages, operating systems, content, disabilities, or user journeys.
Required human checks before approving an experiment
- Navigate every interactive state via keyboard, including visible focus, escape/cancel behavior where relevant, and focus after validation.
- Review the rendered result at 200% text and 400% page zoom, across narrow layouts, including 320 CSS pixels.
- Evaluate light, dark, forced-colors, reduced-motion, and increased-contrast behavior where relevant.
- Read the Guidepup transcript alongside the DOM and accessible names; verify it is an informative representation, not a substitute for AT testing.
- Check USWDS component-specific accessibility instructions and any new risks from customizations.
- Perform at least one real screen-reader session and, for the radio/form work, a Voice Control or speech-input session; record the tool, OS, browser, and result.
- Record the decision, date, reviewer, and any conditions beyond this file in
docs/EXPERIMENT-DECISIONS.md. The evidence run carries the tools, browser/OS, and observations; do not copy them into the decision row.
Known gaps in this pilot
- No real NVDA, JAWS, VoiceOver, or TalkBack session has been performed.
- Voice Control and speech-input operation of the radio and form fixtures are untested by a person.
- No real Windows High Contrast Mode session has been performed.
- Chromium (Chrome channel) and WebKit were run locally; the axe scan is Chromium-only. Firefox could not launch in the authoring sandbox because it could not create its profile folder, so Firefox remains untested there. CI currently runs Chromium only.
- 400% zoom, text-spacing overrides, and all browser/OS combinations have not been exhaustively tested.
- The Arabic sample in the RTL experiment has not had native-language review.
- Dark mode covers four components, not the whole design system.
Reporting
Open an issue in the pilot repository, identifying the tested component, fixture URL, repeatable steps, source version, browser, observed behavior, expected behavior, and impact. For potentially sensitive security findings, do not post a public proof of concept; follow responsible disclosure channels.
Reference: <https://github.com/mgifford/ACCESSIBILITY.md>