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
Expected the HTML found at $('.u-list-none:nth-child(2)') to have no violations:
<ul class="u-list-none">
Received:
<ul> and <ol> must only directly contain <li>, <script> or <template> elements (list)
Fix all of the following:
List element has direct children that are not allowed: [role=separator]
You can find more information on this issue here:
https://dequeuniversity.com/rules/axe/4.10/list?application=axeAPI
I saw that the documentation recommends adding <li role="separator"></li> as list children in dropdown menus. See screenshot:
I believe the semantically correct way of providing a visual separator between list elements would be to split content into two separate lists and style them accordingly, for example:
Elements with role
separator
are not valid children of lists (ul
,ol
).I found this issue while working on #414:
I saw that the documentation recommends adding
<li role="separator"></li>
as list children in dropdown menus. See screenshot:I believe the semantically correct way of providing a visual separator between list elements would be to split content into two separate lists and style them accordingly, for example:
The text was updated successfully, but these errors were encountered: