Skip to content

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 scope: modal Changes related to the modal. package: material-ui 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
@ZeeshanTamboli ZeeshanTamboli deleted the replace-show-with-hide-in-modal-manager branch September 26, 2024 14:19
@oliviertassinari oliviertassinari added the internal Behind-the-scenes enhancement. Formerly called “core”. 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

internal Behind-the-scenes enhancement. Formerly called “core”. scope: modal Changes related to the modal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants