Skip to content

Assistive reader compatability issue with Modal #222

@dineswipe

Description

@dineswipe
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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions