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

Bug: Fix Blocked aria-hidden on Modal when closing #505

Open
JannikStreek opened this issue Nov 29, 2024 · 0 comments
Open

Bug: Fix Blocked aria-hidden on Modal when closing #505

JannikStreek opened this issue Nov 29, 2024 · 0 comments
Assignees
Labels
type-bug Something isn't working

Comments

@JannikStreek
Copy link
Member

JannikStreek commented Nov 29, 2024

Further Notes

When closing a modal on prod an error appears in the console:

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.
Element with focus: button
Ancestor with aria-hidden:  
@JannikStreek JannikStreek added the type-bug Something isn't working label Nov 29, 2024
@JannikStreek JannikStreek self-assigned this Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant