accessibility-insights-web icon indicating copy to clipboard operation
accessibility-insights-web copied to clipboard

Listbox with grouped options reported as error in AI

Open Anschur opened this issue 3 years ago • 3 comments

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:

  1. Go to https://w3c.github.io/aria-practices/examples/listbox/listbox-grouped.html
  2. Run AI
  3. 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

Anschur avatar Apr 23 '21 08:04 Anschur

Looks like https://github.com/dequelabs/axe-core/issues/2523 might be related.

peterdur avatar Apr 23 '21 16:04 peterdur

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!

ghost avatar Apr 26 '21 17:04 ghost

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

ferBonnin avatar Apr 26 '21 20:04 ferBonnin

Fixed some time ago in axe-core by https://github.com/dequelabs/axe-core/pull/3195

dbjorge avatar May 22 '23 19:05 dbjorge