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
ARC Toolkit reports this "Empty list" warning when role="list" is added, even though the list contains child list items.
Description: Found an <ol> ordered list or <ul> unordered list that contains no list items.
Adding an explicit role="list" to <ul> or <ol> elements is a common workaround for a known compatibility issue with Apple screen readers ignoring list semantics when list styles are removed in the CSS.
To Reproduce
Run a scan on the following markup.
<ulrole="list"><li>test</li><li>test</li></ul>
Expected behavior
The role="list" workaround should not trigger a warning if there are <li> child elements as immediate descendants of the list element.
Version information
Browser and version: Chrome Version 130.0.6723.69 (Official Build) (x86_64)
ARC Toolkit version: 5.7.5
The text was updated successfully, but these errors were encountered:
Describe the bug
ARC Toolkit reports this "Empty list" warning when
role="list"
is added, even though the list contains child list items.Adding an explicit
role="list"
to<ul>
or<ol>
elements is a common workaround for a known compatibility issue with Apple screen readers ignoring list semantics when list styles are removed in the CSS.To Reproduce
Run a scan on the following markup.
Expected behavior
The
role="list"
workaround should not trigger a warning if there are<li>
child elements as immediate descendants of the list element.Version information
The text was updated successfully, but these errors were encountered: