Open anqaka opened 1 year ago
In the TieredMenu component, on the menu list item (li[role="menuitem"] the aria-level attribute is used. This attribute is not allowed on role="menuitem"
https://codesandbox.io/p/sandbox/dark-glade-fmmz2r?welcome=true
3.35.0
3.x
ALL
Vite
No response
I used an axe DevTolls extension to check the issue, a link to the tools (https://www.deque.com/axe/devtools/chrome-browser-extension/) Docs for aria-level - https://w3c.github.io/aria/#aria-level this attribute is used in roles:
In the menuitem role documentation, aria-level is not supported: https://w3c.github.io/aria/#menuitem
Remove an unsupported aria attribute.
I have the same problem 🙏
I am also facing this issue.
Describe the bug
In the TieredMenu component, on the menu list item (li[role="menuitem"] the aria-level attribute is used. This attribute is not allowed on role="menuitem"
Reproducer
https://codesandbox.io/p/sandbox/dark-glade-fmmz2r?welcome=true
PrimeVue version
3.35.0
Vue version
3.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
I used an axe DevTolls extension to check the issue, a link to the tools (https://www.deque.com/axe/devtools/chrome-browser-extension/) Docs for aria-level - https://w3c.github.io/aria/#aria-level this attribute is used in roles:
In the menuitem role documentation, aria-level is not supported: https://w3c.github.io/aria/#menuitem
Expected behavior
Remove an unsupported aria attribute.