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

Assistive reader compatability issue with Modal #222

Open
dineswipe opened this issue Nov 23, 2024 · 0 comments
Open

Assistive reader compatability issue with Modal #222

dineswipe opened this issue Nov 23, 2024 · 0 comments

Comments

@dineswipe
Copy link

Issue Overview

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

Current Behaviour

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

Expected Behaviour

The popup should dismiss without any problem.

How to reproduce

Just open a modal and close it. Observer the console.
https://w3c.github.io/aria/#aria-hidden.

Additional Information
  • AdminFaces version: Applies to all versions
  • PrimeFaces version:
  • JSF implementation:
@dineswipe dineswipe changed the title 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 Assistive reader compatability issue with Modal Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant