Skip to content

[test] Roll the per-component reports up into a library scorecard - #48925

Open
michelengelen wants to merge 12 commits into
mui:masterfrom
michelengelen:a11y/stack/scorecard
Open

[test] Roll the per-component reports up into a library scorecard#48925
michelengelen wants to merge 12 commits into
mui:masterfrom
michelengelen:a11y/stack/scorecard

Conversation

@michelengelen

@michelengelen michelengelen commented Aug 4, 2026

Copy link
Copy Markdown
Member

Adds pnpm a11y:scorecard, which parses the count table out of every <Component>/accessibility.md, regenerates the index table in packages/mui-material/src/accessibility.md, and emits the JSON the public conformance page is built from.

pnpm a11y:scorecard:check fails when either output is stale, so a new component report cannot land without its rollup.

This is the aggregation @mj12albert described on #48708 — rolling the per-component scorecards up into a library-level one. Current totals across the 12 assessed components:

Result Count
✅ Supports 206
⚠️ Partially Supports 24
❌ Does Not Support 0
➖ Not Applicable 387

It also rolls results up per success criterion, taking the worst rating any component scores: 32 criteria exercised, 25 Supports, 7 Partially Supports, 0 Does Not Support.

Important

How to review this PR

Layer 12 of 13 in a stacked series (#48915#48926). Its branch is built on a11y/stack/accordion (#48924). GitHub cannot chain PR bases across a fork, so every PR in the series targets master instead.

Review only the last commit6a3dd0e. Everything above it belongs to the layers below, and disappears as those merge.

Part of the WCAG conformance effort (#14187).

@code-infra-dashboard

code-infra-dashboard Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy preview

Bundle size

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/private-theming 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@michelengelen
michelengelen force-pushed the a11y/stack/scorecard branch 3 times, most recently from 395996d to 62a50e8 Compare August 6, 2026 09:43
@michelengelen
michelengelen force-pushed the a11y/stack/scorecard branch 2 times, most recently from 73bc1f7 to d637170 Compare August 6, 2026 10:43
@michelengelen michelengelen self-assigned this Aug 7, 2026
@michelengelen
michelengelen marked this pull request as ready for review August 7, 2026 10:10
mj12albert and others added 12 commits August 7, 2026 14:58
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.
Adds `pnpm a11y:scorecard`, which parses the count table out of every
`<Component>/accessibility.md`, regenerates the index table, and emits the
JSON that the public conformance page is built from. `--check` fails when
either output is stale so a new report cannot land without its rollup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants