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
When menuitem, menuitemcheckbox and menuitemradio are in a group that is not contained by a menu or menubar , the fix message(shown below) mentions group as one of the required parents though it is already a parent
Fix the following:
Required ARIA parents role not present: menu, menubar, group
@straker for this check, the rule metadata already is set to use whatever missingParents is (code for check result messages), but there's nothing in getMissingContext that I can see that filters out parent roles that do exist.
Validated with the latest axe-core develop branch code base,
Earlier for the aria-required-parent int he fix message, group appearing as one of the required parents though it is already a parent - as shown below:
Now group is not appearing as the required parent:
When
menuitem
,menuitemcheckbox
andmenuitemradio
are in agroup
that is not contained by amenu
ormenubar
, the fix message(shown below) mentionsgroup
as one of the required parents though it is already a parentDemo link: https://codepen.io/iamrafan/full/eYgaxrb
Product: axe-core
Expectation: Not suggest
group
as one of the required parentsActual: The fix message mentions
group
as one of the required parents though it is already a parentThe text was updated successfully, but these errors were encountered: