Browse documentation

Accessibility audit: current pages and components

On this page 7 sections

Requirements: REQ-PRODUCT-A11Y, REQ-PRODUCT-MOBILE.

The October 2026 maintainer pass adds repeatable semantic checks and local browser fixtures. It found and corrected navigation, naming, contrast and keyboard defects. Accessibility support remains partial: this pass does not establish WCAG conformance, screen-reader support or coverage of every component state and platform.

Run the checks

npm run site:build
node --test site/test/accessibility.test.mjs
npm run a11y:check
npm run a11y:fixture
npm run a11y:serve

a11y:check reads the current generated asset manifest and writes .local/accessibility-static-report.json. It checks current HTML pages, excluding retained files under artifacts/. It does not execute page scripts, load remote resources or inspect an operator database. Structural checks verify a main landmark, a page heading and a unique skip-link target in the main content. Findings and warnings fail the command; incomplete axe results remain in the report for review.

The tests also mount the real consent, terms-agreement, form-permission and setup components. Agreement and permission transport failures are intentional. Operator fixtures use the actual evidence/history/setup renderers with fresh in-memory stores, including a genuine compiled release comparison. They never select the website's operational workspace or use its credentials.

The local browser application is generated under .local/accessibility-fixture/. The read-only server binds to loopback at http://127.0.0.1:4188/qa-a11y/; use npm run a11y:serve -- --port 4189 if that port is occupied. It never stops another server, accepts writes or serves symlinks outside its generated asset roots. Choose a scenario and select Audit this scenario. The raw report includes the engine version, browser, actual frame viewport, mounted state, violations and incomplete results. The visible layout summary compares document width with usable page width, excluding any scrollbar. It clears when the scenario changes; missing or invalid dimensions and fixture errors cannot report a successful fit. A fresh load ID, request ID and expected URL bind each response to its actual scenario; stale, mismatched and duplicate responses are rejected. A regression test reproduces late results across the iframe's surviving WindowProxy, including a document that fits innerWidth but overflows the usable width. The fixture's axe script retains its upstream license. These audit assets are absent from the production asset manifest and npm browser entry points. Maintainers choose when to run these tools; adopters decide their own CI workflow.

The fixture's generated public-files.json lists exact pinned document readers. Only its bounded canonical artifact paths overlay the local server's ordinary public asset root; test-release HTML stays under the fixture directory and is excluded from deployable output. The native Safari terms check found and corrected the prior missing-reader route, and covers selected keyboard success/failure states. It does not add a new complete audit result to the historical table below.

Scope and observed results

The static pass checks every current HTML page. At this milestone it covers 303 pages with no detected semantic or structural failures. All pages retain incomplete results for rules that need layout APIs unavailable in JSDOM. Contrast is explicitly excluded from this environment, as documented in axe-core's supported environments. The label-content/name rule is also excluded because the pinned implementation needs canvas/layout support absent from this JSDOM environment. Both rules run in the browser fixtures. Separate DOM regressions check the changed link/button labels against their visible text. These exclusions and incompletes are not counted as passes.

The browser pass uses pinned axe-core 4.14.0 with WCAG 2.0/2.1/2.2 A/AA and best-practice rule tags. Chromium 154 ran the following 32 scenarios at both desktop and mobile sizes:

Browser run Outer viewport Actual frame viewport Scenarios Detected violations Fixture errors Incomplete rule results
Desktop Chromium 1440 × 1000 1350 × 848 32 0 0 11
Mobile-width Chromium 390 × 844 375 × 848 32 0 0 14

The frame widths reflect the review application's padding and scrollbar. This is a desktop browser resized for mobile layout; it is not a physical phone or mobile-browser acceptance test. Static scenarios disable app scripts; separately named mounted scenarios exercise the actual library APIs. Assertions verify that requested dialogs, errors, setup steps and prepared recommendations were reached before scanning.

Defects corrected

Area Correction
Google Basic themes The shared skip link now reaches the main content in both themes.
Code examples Highlighted blocks and setup's discovery command use a named group around their code. A plain pre cannot take an author-supplied accessible name with its default role; see ARIA in HTML.
Labels for speech input Example links, setup steps, private-note summaries and Previous buttons retain their visible wording in the accessible name, following Label in Name.
Headings The logo-led project overview receives a page heading and useful title. Setup's discovery guide starts at the appropriate heading level.
Operator landmarks The workspace rail is named; the short setup export note is an ordinary content container. It no longer creates a duplicate unnamed landmark beside the discovery guide.
Website contrast The homepage code-panel caption no longer inherits light-surface text color. Examples card captions, document-preview labels, topic counts and step numbers use a darker secondary text color.
Operator contrast Workspace labels and record footnotes use the shared secondary text color. The original browser findings included ratios of 4.10 and 3.97 against their actual surfaces.
Document comparison Before/after text and raw-record blocks accept keyboard focus. Comparison groups have distinct names and a visible focus outline.

The WCAG contrast guidance explains the minimum text ratios and exceptions. The browser checks use actual computed styles; JSDOM does not substitute for that measurement.

Direct keyboard and incomplete-result review

A mobile-width native dialog exposed Close, both checkboxes, both legal links, Reject optional and Save choices in keyboard order. Opening it from Privacy choices, then pressing Escape, closed it and restored focus to that same trigger. The native browser handles the modal; this observation does not establish every browser's focus behavior.

In the mobile document comparison, PageDown focused and scrolled Before text from 0 to 112.5 CSS pixels. The block had 719 pixels of content in a 606-pixel viewport. Its focus outline and retained text remained visible.

Keyboard focus in the mobile document comparison

The browser's incomplete results remain visible rather than being suppressed:

The full reports stay in ignored local output. No incomplete result is evidence of conformance. WebKit, Firefox, physical devices, assistive technologies, forced colors, broader zoom/text-size combinations and the rest of the component/state matrix still need review. Existing focused layout and keyboard reports cover their own narrower scenarios.

Lifecycle warning scenarios

The current fixture includes six additional mounted cookie lifecycle failures (38 available scenarios total). A selected Chromium pass ran these six in both themes at wide and 390-pixel frame widths; it did not rerun the historical 32-scenario matrix above. Lifecycle warning verification records the actual phases, keyboard path, incomplete dialog-reference results and limits.

23 October: selected native Safari permission checks

The regional form-permission review adds native Safari 27.0 keyboard observations for the unchecked choice, disclosure, pinned document reader, refusal failure, grant failure and saved-state refresh. The initial and grant-error browser scans reported zero violations, fixture errors and incomplete results across two scenarios. This supplements the historical Chromium matrix; it is not a full Safari pass. That session's interrupted zoom check has no accepted result.

The subsequent enlarged-zoom review records four selected scans at 200% and 300%, plus direct keyboard recovery at 300%. It found and corrected offscreen focus restoration after a saved-state refresh. The current fixture has 43 scenarios, including an explicitly mounted refusal failure; this selected pass did not scan all 43. Safari's native control stopped at 300%. The wider zoom/platform, physical-device and assistive-technology acceptance work remains open.

23 October: long copy and mixed-script RTL reflow

The local review application now offers fixed frame widths of 320, 390 and 1280 CSS pixels and heights of 320, 600 and 850 pixels. Changing either dimension reloads the scenario, clears its current measurement and rejects replies from the previous load. Results are retained separately for each scenario and selected width/height, with the actual measured viewport alongside the requested dimensions. The fixed-width frame uses a content-box so its border does not subtract two pixels from the requested width. These controls exercise frame reflow; they do not change browser zoom or emulate a phone.

Four additional mounted scenarios exercise the real compiled consent controller and native controls: long-copy notice/drawer and mixed-script RTL notice/drawer. The long-copy fixture includes a summary over 900 characters, long action/Close labels, a long purpose description and an unbroken purpose name. The RTL fixture prefixes the existing example wording with Arabic text and selects explicit RTL direction and the synthetic ar-XB locale. These are draft layout inputs, not reviewed translations or regional legal content. Optional purposes start off. The fixture generation does not add these releases to public deployment output.

Chromium 155 ran all four scenarios at 320 × 850, 390 × 850, 1280 × 850, 320 × 320 and 1280 × 320. A further RTL drawer scan at 320 × 600 brought the selected pass to 21 results. Every measured document width equalled its available frame width. The scans detected zero violations and zero fixture errors, with 20 incomplete rule results retained. Closed-dialog aria-controls references and contrast nodes reported as partially obscured/overlapping account for the incompletes; they are not counted as passes. This did not rerun the entire 47-scenario fixture library.

A direct keyboard check at 320 × 320 opened the long-copy drawer from the notice's Preferências button. The drawer selected whole-dialog scrolling, with a 239-pixel client height and 2368-pixel scroll height. Tab reached Close, both purpose checkboxes, browser-help disclosure, three legal links, Reject and Save. Each focused control's bounding box was inside the dialog viewport and had a visible 3-pixel outline. Escape closed the dialog and returned focus to Preferências. This is one observed keyboard path, not a general focus-containment or assistive-technology claim.

At 320 × 850, geometry inspection found distinct header/title/Close/body/footer bounds and a scrollable body. Text and action colors were inspected against their actual white/dark surfaces; the automated overlap incompletes remain in the report. At 320 × 600, the RTL drawer had computed direction: rtl, the selected ar-XB language, a 320-pixel width and body scrolling; mixed-script text and paired actions were inspected visually. No runtime styling change was needed for these selected cases. Broader translated content, zoom, platforms, physical devices and screen-reader acceptance remain open.