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

Dialog throws an accessibility warning in the console when closed #2335

Open
claviska opened this issue Jan 7, 2025 · 1 comment
Open

Dialog throws an accessibility warning in the console when closed #2335

claviska opened this issue Jan 7, 2025 · 1 comment
Labels
bug Things that aren't working right in the library. good first issue This bug or task is a good first issue for new contributors. help wanted Ready for a contributor to tackle.

Comments

@claviska
Copy link
Member

claviska commented Jan 7, 2025

  1. Go to
  2. Open the first dialog demo
  3. Close it
  4. Observe the console in Chrome

Result:

Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden.

@claviska claviska added bug Things that aren't working right in the library. help wanted Ready for a contributor to tackle. good first issue This bug or task is a good first issue for new contributors. labels Jan 7, 2025
@elvinasv
Copy link

Similar issue with Drawer #2283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that aren't working right in the library. good first issue This bug or task is a good first issue for new contributors. help wanted Ready for a contributor to tackle.
Projects
None yet
Development

No branches or pull requests

2 participants