-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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
aria-hidden warning on closing Dialog after initial render/mount #43901
Comments
To help us diagnose the issue efficiently, could you provide a stripped-down reproduction test case using the latest version? A live example would be fantastic! ✨ For your convenience, our documentation offers templates and guides on creating targeted examples: Support - Bug reproduction Just a friendly reminder: clean, functional code with minimal dependencies is most helpful. Complex code can make it tougher to pinpoint the exact issue. Sometimes, simply going through the process of creating a minimal reproduction can even clarify the problem itself! Thanks for your understanding! 🙇🏼 |
Thank you for quick response. |
Steps to reproduce
Link to live example:
All of these live code editors shows same error
Steps:
Current behavior
On the first render after a page load/reload, opening the Dialog triggers an aria-hidden error in the console. Subsequent opens do not trigger the error.
Expected behavior
The Dialog should open without triggering any accessibility error related to aria-hidden attributes.
Context
This error was not occurring earlier version, its happening after upgrading mui to 6.0.2
Your environment
npx @mui/envinfo
Search keywords: aria hidden, dialog, version 6.0.2, v6,
Search keywords:
The text was updated successfully, but these errors were encountered: