fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

a11y: Dropdown child/parent relationship not correct

Open jgage176 opened this issue 5 years ago • 2 comments

Environment Information

  • Package version(s): 8.37.4
  • Browser and OS versions: Win 10/edge 94.0.982.2

Describe the issue:

Expand out the first dropdown (uncontrolled or even controlled, maybe any of them) and run Accessibility Insights:

Ensures elements with an ARIA role that require child roles contain them (aria-required-children - https://accessibilityinsights.io/info-examples/web/aria-required-children)

Snippet:

@jgage176 - Thanks for filing this issue with us. To set expectations the developers will review this issue once capacity allows.

@smhigley - I know you looking at Dropdown atm. Would you be able to confirm if this is a regression, or if this behavior is an issue?
cc @khmakoto

gouttierre avatar Nov 05 '21 15:11 gouttierre

This was due to a past bug in axe-core, where it was not correctly processing option groups as intermediate children between the listbox and options. This is now fixed, so both axe and accessibility insights no longer report the error.

smhigley avatar May 20 '22 20:05 smhigley