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 fails when there is a menu with non-menuitem children that are aria-hidden="true"
For example, the following produces a clean menu > menuitem accessibility tree, but axe marks the aria-hidden elements as aria-required-children failures:
Note that giving role="menuitem" to the aria-hidden="true" children does not produce aria-required-children failures; however, it should not be necessary to do this. It is valid ARIA (and passes the Nu Checker) to include the non-roled aria-hidden="true" elements.
The text was updated successfully, but these errors were encountered:
aria-required-children fails when there is a
menu
with non-menuitem
children that arearia-hidden="true"
For example, the following produces a clean menu > menuitem accessibility tree, but axe marks the aria-hidden elements as aria-required-children failures:
Note that giving
role="menuitem"
to thearia-hidden="true"
children does not produce aria-required-children failures; however, it should not be necessary to do this. It is valid ARIA (and passes the Nu Checker) to include the non-roledaria-hidden="true"
elements.The text was updated successfully, but these errors were encountered: