Comments (2)
Thanks for the question. At first glance it would seem the issue is with the <li>
that is in between the parent ul[role=menubar]
element and the a[role=menuitem]
element. The <li>
will retain it's inherit role of listitem
which is not allowed as a parent to a menuitem
. You should be able to fix it by adding role=none
to the <li>
.
from axe-core.
Thanks for the question. At first glance it would seem the issue is with the
<li>
that is in between the parentul[role=menubar]
element and thea[role=menuitem]
element. The<li>
will retain it's inherit role oflistitem
which is not allowed as a parent to amenuitem
. You should be able to fix it by addingrole=none
to the<li>
.
Thank you very much! Now, it's all good!
from axe-core.
Related Issues (20)
- aria-haspopup depricated from global attributes HOT 1
- Pseudo element on cousin not recognized as giving a background
- scrollable-region-focusable should consider an element's content real content, not its content box
- Should text nodes be ignored by aria-required-children?
- Runtime issue: Result for unknown rule. You may be running mismatch axe-core versions HOT 1
- isVisibleOnScreen overflowHidden method does not take into account position parents
- Stacking order bug causes color-contrast to misidentify background
- Stacking-order z-index: 0 bug causes color-contrast to misidentify background
- Option to truncate excessively large `.html` in results HOT 1
- image-alt rule is showing false error/not recognizing [alt] and [attr.alt] attribute HOT 2
- aria-hidden-focus fix does not suggest unhiding the parent element HOT 1
- Check contrast of CSS ::highlight pseudo classes
- Space in text is causing failure in color-contrast test HOT 3
- target-size #incomplete7 rule integration test fails on Firefox 131
- Runtime issue: axe run throws error 'No elements found for include in page Context' when --include not provided HOT 3
- Just noticed this looking at a report and was about to open an issue, I would love to pick this up and combine the checks if you don't mind @straker
- wcag22aa tag showing No violations HOT 1
- label-content-name-mismatch in ARIA switch compares value text with name HOT 1
- async across emulaters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axe-core.