accessibility-insights-web
accessibility-insights-web copied to clipboard
Listbox with grouped options reported as error in AI
Describe the bug
When options in a listbox are grouped in elements using role="group" Accessibility Insights will complain that the listbox is missing required children option, and that that the options are missing required parent listbox.
To Reproduce Steps to reproduce the behavior:
- Go to https://w3c.github.io/aria-practices/examples/listbox/listbox-grouped.html
- Run AI
- Observe errors on listbox structure
CodePen repro example
https://w3c.github.io/aria-practices/examples/listbox/listbox-grouped.html
Expected behavior
I expected no errors on this w3c example.
Context (please complete the following information)
- OS Name & Version: Windows 10.0.19042 Build 19042
- AI-Web Version & Environment: 2.25.0
- Browser Version: Edge 90.0.818.42 (Official build) (64-bit)
- Target Page: https://w3c.github.io/aria-practices/examples/listbox/listbox-grouped.html
Are you willing to submit a PR?
No
Did you search for similar existing issues?
Yes
Looks like https://github.com/dequelabs/axe-core/issues/2523 might be related.
This issue has been marked as ready for team triage; we will triage it in our weekly review and update the issue. Thank you for contributing to Accessibility Insights!
Agree with @peterdur this is the same issue as #2523. ARIA 1.2 is not an official recommendation yet. Marking this as blocked until 1.2 is an official recommendation
Fixed some time ago in axe-core by https://github.com/dequelabs/axe-core/pull/3195