Skip to content

[checkbox] Set aria-checked=mixed when indeterminate#48147

Open
mj12albert wants to merge 1 commit intomui:masterfrom
mj12albert:fix/indeterminate-aria-checked
Open

[checkbox] Set aria-checked=mixed when indeterminate#48147
mj12albert wants to merge 1 commit intomui:masterfrom
mj12albert:fix/indeterminate-aria-checked

Conversation

@mj12albert
Copy link
Copy Markdown
Member

@mj12albert mj12albert commented Mar 30, 2026

Fixes #20476

Indeterminate checkboxes don't have any specific logic, it's completely user-controlled so we can simply add the attribute here

@mj12albert mj12albert added accessibility a11y scope: checkbox Changes related to the checkbox. 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 Mar 30, 2026
@mui-bot
Copy link
Copy Markdown

mui-bot commented Mar 30, 2026

Netlify deploy preview

https://deploy-preview-48147--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 🔺+32B(+0.01%) 🔺+22B(+0.02%)
@mui/lab 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

Generated by 🚫 dangerJS against 55c4b2d

@mj12albert mj12albert force-pushed the fix/indeterminate-aria-checked branch from 5256a21 to 816cbcb Compare March 30, 2026 13:13
@mj12albert mj12albert force-pushed the fix/indeterminate-aria-checked branch from 816cbcb to 55c4b2d Compare March 30, 2026 13:30
@mj12albert mj12albert marked this pull request as ready for review March 30, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility a11y scope: checkbox Changes related to the checkbox. 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.

[checkbox] Set aria-checked="mixed" when indeterminate

2 participants