Menubar: Clicking menuitems outputs error in console #16201
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
LTS-16-PORTABLE
LTS-FIXED-16.9.15
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
v18-port
Milestone
Describe the bug
Component generates console errors
When clicking on a menuitem in the menubar component, you can see console error output.
Error message
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.
Environment
Can be reproduced in the website showcases
Reproducer
https://primeng.org/menubar
Angular version
18
PrimeNG version
17.18.7
Build / Runtime
Angular CLI App
Language
ALL
Node version (for AoT issues node --version)
20.16.0
Browser(s)
Chrome
Steps to reproduce the behavior
Expected behavior
No error output
The text was updated successfully, but these errors were encountered: