Skip to content
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][TextField] Fix screen reader from saying &ZeroWidthSpace #44631

Merged

Conversation

arishoham
Copy link
Contributor

@arishoham arishoham commented Dec 2, 2024

This PR fixes #41515 which causes the screen reader to read "zero width space" on select components

issue shown here:
image

Before: https://mui.com/material-ui/react-select/#basic-select
After: https://deploy-preview-44631--material-ui.netlify.app/material-ui/react-select/#basic-select

@mui-bot
Copy link

mui-bot commented Dec 2, 2024

Netlify deploy preview

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

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against 10ef36f

@oliviertassinari oliviertassinari changed the title [material-ui][Select] Fix screen reader from saying &ZeroWidthSpace [Select] Fix screen reader from saying &ZeroWidthSpace Dec 2, 2024
@oliviertassinari oliviertassinari added the component: text field This is the name of the generic UI component, not the React module! label Dec 2, 2024
@oliviertassinari oliviertassinari changed the title [Select] Fix screen reader from saying &ZeroWidthSpace [text field] Fix screen reader from saying &ZeroWidthSpace Dec 2, 2024
@oliviertassinari oliviertassinari added component: select This is the name of the generic UI component, not the React module! accessibility a11y labels Dec 2, 2024
@oliviertassinari oliviertassinari added the bug 🐛 Something doesn't work label Dec 2, 2024
@zannager zannager requested a review from mj12albert December 3, 2024 11:22
Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

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

Nice, thanks for the fix!

@arishoham
Copy link
Contributor Author

@mnajdova is there anything else i can/should do to get this merged?

@ZeeshanTamboli ZeeshanTamboli changed the title [text field] Fix screen reader from saying &ZeroWidthSpace [TextField] Fix screen reader from saying &ZeroWidthSpace Dec 4, 2024
@ZeeshanTamboli ZeeshanTamboli changed the title [TextField] Fix screen reader from saying &ZeroWidthSpace [Select][TextField] Fix screen reader from saying &ZeroWidthSpace Dec 4, 2024
@mj12albert mj12albert merged commit 6c6cb7e into mui:master Dec 4, 2024
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility a11y bug 🐛 Something doesn't work component: select This is the name of the generic UI component, not the React module! component: text field This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Select] "&ZeroWidthSpace" is being rendered as child element
5 participants