Repository navigation
[test][form group] Add axe tests and WCAG conformance report - #49554
Merged
michelengelen merged 13 commits intoNov 27, 2026
Merged
michelengelen merged 13 commits into
michelengelen merged 13 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploy previewBundle size
PerformanceNo regressions in 32 benchmarks · precise to ±10.3% (±16.5% at worst) · ran 4m 14s · details Check out the code infra dashboard for more information about this PR. |
1 task done
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rmance Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
siriwatknp
reviewed
Nov 23, 2026
siriwatknp
left a comment
Member
There was a problem hiding this comment.
The generated files are in sync. pnpm a11y:scorecard:check passes on this branch and on a test merge with latest master.
Left a few comments on the 1.3.1 demo note, two tests that can't fail because of FormGroup, and the 4.1.2 wording.
LukasTy
reviewed
Nov 26, 2026
…rmance Take the lockfile from master. Regenerate the scorecard files with pnpm a11y:scorecard. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
michelengelen
enabled auto-merge (squash)
November 27, 2026 08:54
…rmance Master now has the Link PR (mui#49555). The text merge has no conflict, but it leaves scorecard.json out of date. Regenerate it with pnpm a11y:scorecard. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LukasTy
approved these changes
Nov 27, 2026
…rmance 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>
…rmance 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>
michelengelen
deleted the
feature/mat-2026-a11yformgroup-assess-wcag-22-conformance
branch
November 27, 2026 11:20
michelengelen
added a commit
to michelengelen/material-ui
that referenced
this pull request
Nov 27, 2026
michelengelen
added a commit
to michelengelen/material-ui
that referenced
this pull request
Nov 27, 2026
This was referenced Nov 27, 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.
Adds axe coverage, WCAG unit tests, and a WCAG 2.2 Level A/AA conformance report for
FormGroup. This is Wave 1, item 8 of #49260. Part of #49412.FormGroup
FormGroup renders a
divwith no role. Its group semantics come from afieldsetwith a legend, or fromrole="group"with a name. The docs show only thefieldsetpattern. No docs page or demo documentsrole="group"on FormGroup. Every rated criterion is ✅ · ◐ Shared, and the report states what the author must add.Report:
FormGroup/accessibility.mdRating decisions
The report rates a criterion only when FormGroup's own output governs it:
flex-wrap, so it rates 1.3.2, 1.4.10, and 2.4.3.role="group"and a name, FormGroup is the named group element, so it rates 1.3.1, 2.4.6, and 3.3.2.errorclass, but no error style, so 1.4.1 is not applicable.role="group", the role and name of the group are rated under 1.3.1.Changes
FormGroup.test.jshas two tests:role="group"witharia-labelledbygives a named group. This fails if FormGroup stops passing props to its root.FormGroupA11yStates, records its results intocheckboxes.a11y.json. This is theaxeDemospattern of [test] Count only a component's own demos when axe results are shared #49526:FormGroup/accessibility.jsonnames the fixture inaxeDemos.Checkbox/accessibility.jsongets anaxeDemoslist of the nine checkbox demos, so its report does not change.row, an error group,role="group", an unnamed group, and a wide row.skipCriteria: ['1.4.4', '1.4.12']. The five-checkbox row wraps at 320 px.aria-label="position"on a FormGroup with no role. ARIA does not allow this, and thefieldsetlegend already names the group.Findings recorded in the report
aria-invalid.Merge order with the sibling Wave 1 PRs
pnpm a11y:scorecard.Not done in this PR
Follow-ups (tracked in #49477)
checkboxes.mdandswitches.mdshould say that a group needs afieldsetand legend, orrole="group"with a name. Document therole="group"pattern on FormGroup.🤖 Generated with Claude Code