Closed fushizen closed 3 weeks ago
Thanks for reporting! I'll forward this issue to the UI5 Web Components for React repo as the affected component is developed there.
Hello @SAP/ui5-webcomponents-topic-rl, For the MCB the aria-controls property is missing when the suggestions are expanded.
Kind regards,
GV
Hello @fushizen
The issue is already reported: https://github.com/SAP/ui5-webcomponents/issues/3827
We are aware of this issue and other issues, related to setting relationships between accessible elements via IDrefs. Setting IDRef relationships are not possible in versions <1.24 due to the nature of the custom elements and their shadow DOM. The issue is present not only for UI5 Web Components, but for every framework creating custom elements and using shadow DOM. This is a gap in the accessibility support which was solved with the introduction of the popover API - https://developer.mozilla.org/en-US/docs/Web/API/Popover_API, therefore the issue is not longer reproducible in versions 2.0 and above where the API has been adopted.
What is more, aria-controls does not affect the speech output and there will be no change in the usage of the element with or without the attribute and screen reader users will not be affected.
Thanks for understanding!
Kind Regards, Ivaylo
Describe the bug
Using axe devtools (a plugin used by the internal A11y team to check for issues) there is an issue with critical impact for the MultiComboBox when it is in the opened state. The issue detected by the tool is:
Required ARIA attribute not present: aria-controls
Isolated Example
https://sap.github.io/ui5-webcomponents-react/v1/?path=/story/inputs-multicombobox--default
Reproduction steps
Expected Behaviour
Component to not have a11y issues detectable by the tool
Screenshots or Videos
No response
UI5 Web Components for React Version
v1.29.x
UI5 Web Components Version
v1.29.x
Browser
Edge
Operating System
No response
Additional Context
No response
Relevant log output
No response
Organization
SAP
Declaration