-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
docsImprovements or additions to the documentation.Improvements or additions to the documentation.type: expected behaviorThe current behavior is already the one expected.The current behavior is already the one expected.
Description
Steps to reproduce
The Basic Select example in the documentation does not pass accessibility checks.
An accessibility audit reports: "Missing form label: A form control does not have a corresponding label."
Screenshot:
Steps to reproduce:
- Visit https://mui.com/material-ui/react-select/
- Inspect the example under "Basic select".
- Accessibility checker reports: "Missing form label". (Crome Extension - WAVE Evaluation Tool)
Current behavior
No response
Expected behavior
The example should properly associate the label with the Select component using labelId and id attributes, or provide an aria-label for compliance with WCAG.
Context
No response
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: Accessibility, Select
Metadata
Metadata
Assignees
Labels
docsImprovements or additions to the documentation.Improvements or additions to the documentation.type: expected behaviorThe current behavior is already the one expected.The current behavior is already the one expected.