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

ContextMenu, Dock: aria-hidden throws console error #16397

Open
Dive576 opened this issue Sep 17, 2024 · 0 comments · May be fixed by #16398
Open

ContextMenu, Dock: aria-hidden throws console error #16397

Dive576 opened this issue Sep 17, 2024 · 0 comments · May be fixed by #16398
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@Dive576
Copy link
Contributor

Dive576 commented Sep 17, 2024

Describe the bug

When clicking on a menu item in the ContextMenu and Dock components, the following error is displayed in the browser console:

Blocked aria-hidden on a element because the element that just received 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.

Environment

This issue can be seen in the ContextMenu examples and the Dock examples.

Reproducer

No response

Angular version

18.0.1

PrimeNG version

17.18.10

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

22.8.0

Browser(s)

Chrome and Edge

Steps to reproduce the behavior

No response

Expected behavior

No errors should be displayed in the browser console.

@Dive576 Dive576 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant