Skip to content

[useAutocomplete] Add aria-multiselectable to listbox props when multiple is true#47632

Merged
mj12albert merged 2 commits intomui:masterfrom
silviuaavram:fix/add-aria-multiselectable
Jan 21, 2026
Merged

[useAutocomplete] Add aria-multiselectable to listbox props when multiple is true#47632
mj12albert merged 2 commits intomui:masterfrom
silviuaavram:fix/add-aria-multiselectable

Conversation

@silviuaavram
Copy link
Member

@silviuaavram silviuaavram commented Jan 16, 2026

Fixes #44417

  • if multiple prop is supplied, listbox receives aria-multiselectable="true", nothing otherwise.
  • matches the multiple select behaviour (not the default select one) and the BaseUI equivalent component.

Copilot AI review requested due to automatic review settings January 16, 2026 13:47
@mui-bot
Copy link

mui-bot commented Jan 16, 2026

Netlify deploy preview

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

Bundle size report

Bundle Parsed size Gzip size
@mui/material 🔺+33B(+0.01%) 🔺+15B(+0.01%)
@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 7590c96

@silviuaavram silviuaavram added scope: autocomplete Changes related to the autocomplete. This includes ComboBox. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. accessibility a11y labels Jan 16, 2026
@silviuaavram silviuaavram review requested due to automatic review settings January 16, 2026 13:50
Copilot AI review requested due to automatic review settings January 16, 2026 14:03
@silviuaavram silviuaavram review requested due to automatic review settings January 16, 2026 14:06
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Awesome.

@mj12albert mj12albert merged commit 2dd450b into mui:master Jan 21, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility a11y scope: autocomplete Changes related to the autocomplete. This includes ComboBox. 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.

[Autocomplete][material-ui] Missing aria-multiselectable attribute when multiple prop is set

5 participants