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
aria-required-children should fail here as this is holding role=group as child for role=list.
Also:
Require aria-controls on combobox.
Require focusable separators to have aria-value now.
Require combobox, radio, seperator now require aria-checked. The default value of false is no longer assumed.
Test snippet:
<!--aria-req-parent should pass here-->
<div role="tree"><div role="none"><div role="group"><div role="none"><div role="group"><div role="treeitem" id="target">Nothing here.</div></div></div></div></div></div>
<!--aria-req-attr should fail when role=seperator-->
<span role="radio" id="aratrr_fail">I am BLUE!</span>
<div role="separator" id="violation" tabindex="0"></div>
<div id="target-fail" role="combobox" aria-expanded="invalid-value"></div>
As of WAI-ARIA 1.2, groups are no longer allowed in lists. This is soon changing in ACT as well. We should make sure the following fails axe-core:
To fix this, remove
group
fromlist
andlistitem
in standards/aria-roles.js, and fix any tests that fail.The text was updated successfully, but these errors were encountered: