Repository navigation
fix(a11y): landing and contact pages score 1.0 — real radiogroup/tablist semantics, and a consent banner that is not a stray h6 - #792
Merged
Conversation
…tablist semantics, and a consent banner that is not a stray h6 Closes the last box on #774. Co-Authored-By: Claude Fable 5.1 <[email protected]>
3 tasks
… failed twice in a row on CI The snapshot is reported from a passive effect after the commit that enables the button, so the last mock call is not guaranteed to be the valid one when the button first reads enabled. #753 in miniature. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This was referenced Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Closes the last acceptance box on #774: accessibility ≥ 0.95 on
/and/contact. Both now measure 1.0 (Lighthouse 12.8, mobile preset, production export), as do/jobsand/terms.Lighthouse named three defects, all of them the same class as #638 — a role reaching the DOM without its state or its parent, because react-native-web has no mapping for
accessibilityState:aria-required-attrContactSection—role="radio"with noaria-checkedaria-checkedalongsideaccessibilityState={{ checked }}, inside arole="radiogroup"aria-required-parentBenefits—role="tab"with no tablistrole="tablist"on the row,aria-selectedon each tabheading-order<h6>after the page's<h1>/<h2>Scaffald/ui#30 also makes a dismissed banner leave the accessibility tree: it hid with
opacity: 0, which kept three focusable buttons in the tab order on every page after consent (the leftover noted when #452 was closed). Hidden is nowdisplay: none+aria-hidden, still rendered unconditionally so hydration parity holds..lighthouserc.json's accessibility budget goes back up to 0.95 (the ratchet from #782: lower a number when a PR beats it; this one is a floor, so it rises).Verification
/0.87,/contact0.92. After:/1.0,/contact1.0,/jobs1.0,/terms1.0. The only remaining note on/jobsis a weight-0label-content-name-mismatchon the card buttons (aria-label="View Pipe Welder…"vs the visible title) — not a scoring audit, left alone.scf-coretypecheck green, biome clean,pnpm prepushgreen.Also: one flaky test made deterministic
scf-core:testfailed on this PR's first two CI runs — same test both times,GeneralInfoStep keeps continue disabled until required fields are complete, which this PR does not touch and which passes locally 5 of 5 with the same ui dist. It readonStepStateChange.mock.calls[last]right afterwaitFor(button enabled), but the snapshot comes from a passive effect after that commit, so on a loaded runner the last call was not yet the valid one. It now waits for the call (toHaveBeenLastCalledWith). Recorded on #753.🤖 Generated with Claude Code