Skip to content

[docs] Improve accessibility for select examples#48250

Merged
silviuaavram merged 3 commits into
mui:masterfrom
silviuaavram:docs/select-improvements
Apr 10, 2026
Merged

[docs] Improve accessibility for select examples#48250
silviuaavram merged 3 commits into
mui:masterfrom
silviuaavram:docs/select-improvements

Conversation

@silviuaavram
Copy link
Copy Markdown
Member

@silviuaavram silviuaavram commented Apr 9, 2026

  • I have followed (at least) the PR section of the contributing guide.

  • link helper text elements with Select components.

  • show an outline variant for the Select

  • improve the label prop related text and move it to the right section

@silviuaavram silviuaavram self-assigned this Apr 9, 2026
Copilot AI review requested due to automatic review settings April 9, 2026 13:26
@silviuaavram silviuaavram added docs Improvements or additions to the documentation. accessibility a11y scope: select Changes related to the select. labels Apr 9, 2026
@mui-bot
Copy link
Copy Markdown

mui-bot commented Apr 9, 2026

Netlify deploy preview

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@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 c9c851b

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Material UI Select documentation demos to improve accessibility and clarify variant usage, especially around labels and helper text.

Changes:

  • Add an outlined Select example to the variants demo and adjust labeling props accordingly.
  • Link helper text to Select components in the labels demo via aria-describedby + helper text id.
  • Reorganize and expand docs guidance around variants and labeling/helper text.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
docs/data/material/components/selects/SelectVariants.tsx Adds outlined variant example; removes unnecessary label prop from standard variant.
docs/data/material/components/selects/SelectVariants.js Same as TS demo for JS version.
docs/data/material/components/selects/SelectLabels.tsx Adds aria-describedby and stable helper text IDs; refines labeling text.
docs/data/material/components/selects/SelectLabels.js Same as TS demo for JS version.
docs/data/material/components/selects/selects.md Renames variants section, moves outlined-label warning, and adds labeling/helper-text guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/data/material/components/selects/selects.md Outdated
@silviuaavram silviuaavram force-pushed the docs/select-improvements branch from fd66f3f to 593c3f3 Compare April 9, 2026 14:28
@ZeeshanTamboli ZeeshanTamboli changed the title [docs] Improve accessibility fo select examples [docs] Improve accessibility for select examples Apr 10, 2026
Comment thread docs/data/material/components/selects/selects.md Outdated
@silviuaavram silviuaavram merged commit 96d220c into mui:master Apr 10, 2026
19 checks passed
@silviuaavram silviuaavram deleted the docs/select-improvements branch April 10, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility a11y docs Improvements or additions to the documentation. scope: select Changes related to the select.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants