[test][button] Add axe test coverage and WCAG conformance report - #48916
Open
michelengelen wants to merge 3 commits into
Open
[test][button] Add axe test coverage and WCAG conformance report#48916michelengelen wants to merge 3 commits into
michelengelen wants to merge 3 commits into
Conversation
This was referenced Aug 4, 2026
Deploy previewBundle size
Check out the code infra dashboard for more information about this PR. |
michelengelen
force-pushed
the
a11y/stack/button
branch
from
August 5, 2026 09:56
9739034 to
3887296
Compare
michelengelen
force-pushed
the
a11y/stack/button
branch
5 times, most recently
from
August 6, 2026 10:43
212555a to
9b9147b
Compare
michelengelen
marked this pull request as ready for review
August 7, 2026 10:15
michelengelen
force-pushed
the
a11y/stack/button
branch
from
August 7, 2026 11:37
9b9147b to
764f1ed
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.
michelengelen
force-pushed
the
a11y/stack/button
branch
from
August 7, 2026 13:00
764f1ed to
d60b37a
Compare
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.
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 13 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 —
d60b37a. 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).