Repository navigation
[test][form helper text] Add axe tests and WCAG conformance report - #49553
Open
michelengelen wants to merge 18 commits into
Open
michelengelen wants to merge 18 commits into
michelengelen wants to merge 18 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploy previewBundle size
PerformanceNo regressions in 32 benchmarks · precise to ±8.3% (±15.1% at worst) · ran 3m 55s · details Check out the code infra dashboard for more information about this PR. |
This was referenced Oct 28, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…conformance Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 task done
siriwatknp
reviewed
Nov 23, 2026
siriwatknp
left a comment
Member
There was a problem hiding this comment.
The generated output matches pnpm a11y:scorecard on this branch, and also after merging master. The contrast numbers check out too.
Left a few doc fixes inline, and one question about the new known-gap row. #49552 adds the same row, so maybe we can settle it once for both PRs.
…conformance Keep both sides in knownGaps.json, where the IconButton PR (mui#49549) also adds rows. Take the lockfile from master. Regenerate the scorecard files with pnpm a11y:scorecard. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…conformance Master now has the Link PR (mui#49555). Keep both sides in knownGaps.json. Regenerate the scorecard files with pnpm a11y:scorecard. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The known-gaps note for Button names error in dark mode, but the Button report listed only info and warning. Add the dark-mode values to the 1.4.3 gap, section, manual steps, and pass condition. mui#49552 makes the identical edit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
michelengelen
enabled auto-merge (squash)
November 27, 2026 09:46
…conformance Master now has the FormLabel PR (mui#49552). Keep both sides in the files that it also edits. Regenerate the scorecard files with pnpm a11y:scorecard. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…conformance Master now has the Fab PR (mui#49550). Keep both sides in the files that it also edits. Regenerate the scorecard files with pnpm a11y:scorecard. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1 task done
…conformance Master now contains the Chip report (mui#49556). Keep the Chip and the FormHelperText enrolment tests. Regenerate the scorecard files. Put FormHelperText after Fab in the contrast gap list. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…conformance Master now contains the Chip and Fab report corrections (mui#49934). Regenerate the scorecard files. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
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.
Adds axe coverage, WCAG unit tests, and a WCAG 2.2 Level A/AA conformance report for
FormHelperText. This is Wave 1, item 7 of #49260. Part of #49411.FormHelperText
Known gaps:
error.main(#f44336). Error text falls below 4.5:1 from elevation 2: about4.3:1at elevation 2,3.69:1at elevation 8 (Menu, Popover), and3.14:1at elevation 24 (Dialog). At elevation 1, it is about4.5:1, which is borderline.Report:
FormHelperText/accessibility.mdChanges
FormHelperText.test.js"WCAG 2.2 conformance" block covers:FormControldoes not connect a standalone helper text to anInput. An existing TextField test covers the TextField description. The 3.3.1 test covers the connection that the author sets.Inputin an errorFormControlgetsaria-invalid="true"and the helper text as its description.[aria-live],[role="status"], or[role="alert"]anywhere in an error TextField (documented gap).form-helper-textslug.FormHelperTextA11yStates(standalone) asserts every rule.FormHelperTextA11yVariantscovers the three TextField variants, in the resting and error states. It recordscolor-contrastwithout asserting it. The red label of the filled error field is a known TextField 1.4.3 failure that this fixture shows. axe can also returnincompleteresults where an input is empty or where the notched outline and the floating label overlap it. The stored result is a fail, and it does not name the failing element. Thus it does not show that the helper text passes there. The states fixture assertscolor-contraston the helper text.erroron a dark Paper with elevation 2 or more. There is no separate dark-mode row.Decisions for review
text.secondaryanderror.mainitself. One root cause gets oneerror.mainon elevated Paper. The known-gaps table lists it in the palette row.color-contrastis not asserted on it.aria-invalidon a standalone input. Whether the words name the error is the author's content. The merged TextField report rates 3.3.1 Automated.Merge order with the sibling Wave 1 PRs
This is the last open Wave 1 PR. This branch includes master, with the IconButton (#49549), Fab (#49550), ButtonGroup (#49551), FormLabel (#49552), FormGroup (#49554), Link (#49555), and Chip (#49556) PRs. Do not hand-merge the generated blocks: after each merge of master, run
pnpm a11y:scorecard.Not done in this PR
🤖 Generated with Claude Code