Menu: Accessibility error reported in console on clicking any menu item #7045
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
Milestone
Describe the bug
There is a "aria-hidden" attribute on anchor tag within menu item and whenever we click on it, browser console reports that the attribute is blocked as focusable elements must not be hidden from assistive technology users.
Reproducer
https://stackblitz.com/edit/vitejs-vite-km4s9u
System Information
node: 20.11.0
react: 18.2.0
primereact: 10.8.2
MS Edge Chromium
Steps to reproduce the behavior
Expected behavior
No console errors related to accessibility
The text was updated successfully, but these errors were encountered: