-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Select] Form Control examples that contain Select do not pass WAVE accessibility for labels #32495
Comments
The reason is that the When using the
BTW, not sure if anyone is already working on a fix. If not, I'd be happy to make a contribution. |
Hi |
I would like to solve multi line input error any suggestions on this |
Iam trying to contact the participants but couldn’t do it.please share ur email id so that I can connect n discuss |
How come there hasn't been any movement on this issue? Does the mui project not care about accessibility? As my project wants (and needs) to take accessibility seriously, such issues really cause a big pain for us, as we rely heavily on mui components. |
Any update on this issue in July 2024 ?? The product I am working on also needs to address this accessibility issue. |
Are there any updates on this issue? I am still encountering this problem in MUI V6.1.6. This is also an issue on the documentation on your website. https://mui.com/material-ui/react-select/ When tested with WAVE there are 20 missing labels and 16 orphaned labels. |
I agree would love to know how to fix this so we can get make our compliance office happy |
I think I have found a solution that is not included in the documentation. For example this is the basic select provided in the documentation. If you use WAVE to test you will get the alert of Missin form label and orphaned label.
Instead of adding the The final component looks like the following and it seems to make WAVE happen. Let me know if anyone has any thoughts.
|
Duplicates
Latest version
Current behavior 😯
Using wave on the Select component examples has the error on all select fields
Missing form label
A form control does not have a corresponding label.
I was finally able to fix the issue like this
Where I needed to add an
htmlFor
to the label and add the associatedid
to theinputProps
of theSelect
The only select examples that do not have this error are the native examples because they have
aria-label
on them.Expected behavior 🤔
Examples to pass WAVE when on the bottom of the page there are directions on how to pass accessibility but these in fact don't work for the form Control label. Removing them actually doesn't add any errors.
Steps to reproduce 🕹
Steps:
Context 🔦
Proper examples for accessibility
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: