Skip to content

[docs][chip][fab] Correct the accessibility conformance reports and scorecard - #49934

Merged
LukasTy merged 2 commits into
mui:masterfrom
LukasTy:codex/chip-accessibility-follow-up
Nov 27, 2026
Merged

LukasTy merged 2 commits into
mui:masterfrom
LukasTy:codex/chip-accessibility-follow-up

Conversation

@LukasTy

@LukasTy LukasTy commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #49556.

Chip now rates Partially Supports for WCAG 1.4.4 Resize Text and 2.1.1 Keyboard. Two cases that the earlier assessment missed account for those changes.

  • A long label fits at 640 CSS px, then truncates when 200% page zoom reduces the available width to 320 CSS px. The regression test checks the same label with the multiline workaround.
  • With only an onClick handler and clickable={false}, the default Chip root responds to a pointer click and exposes no button role or tab stop. The docs explain how to retain keyboard support.

The scorecard now includes components rated Does Not Support in its per-criterion affected list. Chip was previously missing from the 1.4.11 list even though it determined the library rating.

Fab now rates Partially Supports for 1.4.4 by the same rule. A 49-character extended label fits on one line at 640 CSS px. At 320 CSS px, it wraps onto three lines and spills out of the medium and large Fabs. The clickable prop description now states that false without onDelete also removes the button role and keyboard access.

The report also covers the passing contrast of a focused default outlined Chip, how a titled icon contributes to its accessible name, and where the next Tab lands after deleting jQuery in ChipsArray. Chromium and Firefox continue to Polymer. WebKit returns to Angular.

Validation

  • Full unit suite (14,398 passed, 1,410 skipped), including the Chip tests in jsdom and Chromium
  • Full regression suite (866 passed, 13 skipped), with no changes to the committed axe results
  • TypeScript across 20 projects, repository-wide ESLint, scorecard regeneration and consistency, and Prettier and Vale on the changed files
  • Fab and clickable follow-up: scorecard consistency, ESLint, Prettier, and Vale. A Playwright measurement on the regression build confirms the Fab label at 640 and 320 CSS px

Screen-reader testing remains pending.

@code-infra-dashboard

code-infra-dashboard Bot commented Nov 27, 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

Performance

No regressions in 32 benchmarks · precise to ±6.6% (±14.6% at worst) · ran 2m 18s · details


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

@LukasTy LukasTy changed the title [chip] Correct the accessibility conformance report and scorecard [docs][chip] Correct the accessibility conformance report and scorecard Nov 27, 2026
@LukasTy LukasTy added docs Improvements or additions to the documentation. accessibility a11y scope: chip Changes related to the chip. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. labels Nov 27, 2026
- Rate Fab 1.4.4 Partially Supports. A long label that fits on one line at 640 CSS px wraps and spills out at 320 CSS px, which is 200% page zoom from that width.
- State in the `clickable` docs that `false` without `onDelete` also removes the button role and keyboard access.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LukasTy LukasTy added the component: Fab The React component. label Nov 27, 2026
@LukasTy LukasTy changed the title [docs][chip] Correct the accessibility conformance report and scorecard [chip][fab] Correct the accessibility conformance reports and scorecard Nov 27, 2026
@LukasTy LukasTy changed the title [chip][fab] Correct the accessibility conformance reports and scorecard [docs][chip][fab] Correct the accessibility conformance reports and scorecard Nov 27, 2026
@LukasTy
LukasTy marked this pull request as ready for review November 27, 2026 13:50
@LukasTy
LukasTy merged commit a26374c into mui:master Nov 27, 2026
24 checks passed
@LukasTy
LukasTy deleted the codex/chip-accessibility-follow-up branch November 27, 2026 14:00
michelengelen added a commit to michelengelen/material-ui that referenced this pull request Nov 27, 2026
…conformance

Master now contains the Chip and Fab report corrections (mui#49934).
Regenerate the scorecard files.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility a11y component: Fab The React component. docs Improvements or additions to the documentation. scope: chip Changes related to the chip. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants