dequelabs / dequelabs/axe-core
aria-required-parent misapplied to menubar role
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
Product: <>
axe-core
Expectation: << Describe what you expect the product to do >>
Product should not apply aria-required-parent to menu and menubar in relation to menuitem roles, because elements with menuitem role are valid if descendants of elements with menu or menubar role, regardless of whether the menuitem element is a child of the menu or menubar element. Nonparent ancestry establishes the required ownership.
Actual: << Describe what the product actually does >>
The product insists on parent ancestry with menu and menubar in relation to menuitem roles.
Motivation: << Describe why you want the behavior to be changed >>
The critical issues announced by the product for menuitem elements with menu or menubar non-parent ancestors are false positives. They exceed the ARIA specification.
axe-core version: 4.3.1
axe-webdriver, extension or other integration version: X.Y.Z
Browser and Assistive Technology versions
Chrome 92.
For Tooling issues:
- Node version: XX
- Platform:
Contributor guide
Assessment
This issue has not been assessed yet.