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

[core][Modal] Replace show parameter name with hide in modal manager #43868

Conversation

ZeeshanTamboli
Copy link
Member

While reviewing a PR I noticed the parameter name show is confusing because aria-hidden should be set to true when hide is true, hiding the element from the accessibility tree. This PR renames the parameter from show to hide for clarity.

@ZeeshanTamboli ZeeshanTamboli added component: modal This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material labels Sep 24, 2024
@mui-bot
Copy link

mui-bot commented Sep 24, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 966810a

@ZeeshanTamboli ZeeshanTamboli marked this pull request as ready for review September 24, 2024 06:09
@ZeeshanTamboli ZeeshanTamboli merged commit dbdea6a into mui:master Sep 26, 2024
21 checks passed
@ZeeshanTamboli ZeeshanTamboli deleted the replace-show-with-hide-in-modal-manager branch September 26, 2024 14:19
@oliviertassinari oliviertassinari added the core Infrastructure work going on behind the scenes label Oct 2, 2024
@oliviertassinari oliviertassinari changed the title [material-ui][Modal] Replace show parameter name with hide in modal manager [core][Modal] Replace show parameter name with hide in modal manager Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: modal This is the name of the generic UI component, not the React module! core Infrastructure work going on behind the scenes package: material-ui Specific to @mui/material
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants