You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This warning is showing on a ul tag element. I believe it is incorrect, as I have not found anything in the https://w3c.github.io/aria/#menu that would suggest that an element with role menu must be interactive.
Even MDN has ul as an example tag for role="menu":
Reproduction
Create a svelte file with the following:
<ulrole="menu"></ul>
svelte compiler will show a warning:
Non-interactive element <ul> cannot have interactive role 'menu'
Logs
No response
System Info
irrelevant
Severity
annoyance
The text was updated successfully, but these errors were encountered:
tborychowski
changed the title
Non-interactive element <ul> cannot have interactive role 'menu'
A11y: Non-interactive element <ul> cannot have interactive role 'menu'
Mar 24, 2023
Describe the bug
This warning is showing on a
ul
tag element. I believe it is incorrect, as I have not found anything in the https://w3c.github.io/aria/#menu that would suggest that an element with rolemenu
must be interactive.Even MDN has
ul
as an example tag forrole="menu"
:Reproduction
Create a svelte file with the following:
svelte compiler will show a warning:
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: