Repository navigation
[test][form helper text] Add axe tests and WCAG conformance report - #49553
Open
michelengelen wants to merge 2 commits into
Open
michelengelen wants to merge 2 commits into
michelengelen wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploy previewBundle size
PerformanceNo regressions in 32 benchmarks · ran 4m 06s · 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>
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:4.30:1at elevation 2,3.68:1at elevation 8 (Menu, Popover), and3.13:1at elevation 24 (Dialog). At elevation 1, it is4.52:1.Report:
FormHelperText/accessibility.mdChanges
FormHelperText.test.js"WCAG 2.2 conformance" block covers:FormControldescribes anInputonly when the author connects it.error.mainstays below 4.5:1 on the elevation 2 and 24 overlays (documented gap).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 helper text itself passes.errortext below 4.5:1 on a Paper with elevation 2 or more, such as a Menu or a Dialog" (FormHelperText, TextField). [test][form label] Add axe tests and WCAG conformance report #49552 adds the same row; on merge, keep one row and join the affected lists.Decisions for review
text.secondaryanderror.mainitself. One root cause gets oneerror.mainon elevated Paper.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
Do not hand-merge the generated blocks: after each rebase, run
pnpm a11y:scorecard. If #49552 merges first, join the two dark-modeerrorrows inknownGaps.json.Not done in this PR
🤖 Generated with Claude Code