[test][button] Add axe test coverage and WCAG conformance report - #48916
[test][button] Add axe test coverage and WCAG conformance report#48916michelengelen wants to merge 3 commits into
Conversation
Deploy previewBundle size
Check out the code infra dashboard for more information about this PR. |
9739034 to
3887296
Compare
212555a to
9b9147b
Compare
764f1ed to
d60b37a
Compare
Lets a fixture assert every axe rule it exercises rather than only the CSS-dependent visual ones, which is what the per-component WCAG reports need.
Adds a table-driven Playwright suite covering 1.4.10 Reflow, 1.4.4 Resize Text and 1.4.12 Text Spacing across the assessed components. axe has no rule for any of them, so they were rated Manual on evidence from source review.
d60b37a to
5c23780
Compare
PR reviewNo findings. This PR sets the template for the stack and it is internally consistent. Checked: the demoMeta enrolment matches the 15 keys in Residual risk: the 371-line conformance report was spot-checked against the code, not verified claim by claim, and the new demos are regression-harness-only (not referenced from VerdictApprove - the enrolment, fixtures, tests, and report counts are consistent end to end. 🤖 Review generated with Claude Code |
Expands axe coverage for
Buttonand adds its WCAG 2.2 Level A/AA conformance report, plus the shared reports legend atpackages/mui-material/src/accessibility.md.Known gaps: contrast on
info/warningcontained buttons (1.4.3), focus-indicator contrast and its removal viadisableRipple(1.4.11, 2.4.7), and no live region for theloadingstate (4.1.3).Report:
Button/accessibility.mdImportant
How to review this PR
Layer 3 of 14 in a stacked series (#48915 → #48926). Its branch is built on
a11y/stack/css-layout(#48936). GitHub cannot chain PR bases across a fork, so every PR in the series targetsmasterinstead.Review only the last commit —
5c23780. Everything above it belongs to the layers below, and disappears as those merge.Original work by @mj12albert. Supersedes #48708, rebased onto current master.
Part of the WCAG conformance effort (#14187).