-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SF][A11y][List] Unique accessible names are not provided for checkboxes #6861
Comments
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository. |
Hello @saorabhkr, Thanks for reporting. I am not sure that I fully understand the issue. Could you please give a bit more information and steps for reproducing the reported problem so we could help you. Thanks and Kind Regards, |
Hello @yanaminkova, Yes you are absolutely right, To open JAWS keyboard press ctrl+insert+x. From that window select More in detail:
Hope this helps. Best Regards, |
We've discussed this question with the central accessibility team and we await for their feedback. |
Hi @dobrinyonkov, |
Hi @GongRichard, we've explored the possible solutions here:
There isn't really a general recommendation from the ARIA specification about such pattern. Let me know if you have any thoughts on the above. |
Hi @GongRichard, After thorough discussions with accessibility experts, we have reached a point that assistive technologies (AT) may autonomously handle the labeling of such cases, as they possess the required contextual understanding. It needs to be clarified why the labelling in closed context should be handled by web authors or web control developers and not by the user agent or assistive technology (auto-labelling). Assistive technologies are very aware of the context they consume from platform accessibility trees and could provide in their speech output by extended element info triggered by a special key or in their virtual overview dialogs means to identify the very position of e.g. a checkbox in a list/table cell with row/col position and list/table header information. The opposite would mean, to make the labels really globally unique each and every such control (graphics, inputs, links, buttons, etc.) must be additionally labelled with the list header (there could be multiple list on the screen), the list item info (index / row header) and the column info if we’re inside a table (index / column header). The screenreader output would be horror. More information and further discussions can be tracked with this GitHub issue: w3c/aria-practices#2810 Kind Regards, |
After consulting with accessibility experts, we believe that assistive technologies (AT) are best suited to handle labeling in such cases, as they can provide contextual understanding autonomously. We feel this should be managed by the AT, not web authors or developers, to avoid overwhelming users with redundant information. Best regards, |
More discussion about this will take place next week, I will post updates after. |
Hi @dobrinyonkov, |
Hello @GongRichard, The outcome of the discussions was that we cannot offer a solution at the moment. Referring to our central note: https://me.sap.com/notes/3260235, the component is to be considered conformant as per the definition of the W3C. More specifically, the following sections:
as well as the following: 2.5.3 - Label in Name I will therefore close this case. Kind regards, |
disagree in above explanation. The WCAG issue 2810 should not have been taken for this issue as an answer. It describes different topics. For this issue, the accessible name of a checkbox is "Multiple Selection mode" that does not match the visible name of a checkbox like "List Item 1". https://www.w3.org/WAI/WCAG21/Understanding/label-in-name.html Regarding your point "assistive technologies (AT) are best suited to handle labeling in such cases/assistive technologies (AT) may autonomously handle the labeling of such cases". It looks like you had already issues by not providing ariaLabelledBy; therefore you worked on BCP issues linked to https://jira.tools.sap/browse/CPOUIFTEAMB-1566 https://git.wdf.sap.corp/c/openui5/+/4990603 . This fix was than just taken over to webcomponent. |
Feel free to have a look at the wcag discussion about this issue: w3c/wcag#4190 |
Describe the bug
For a List/Tree where we have
MultiSelect
enable we observed unique accessible names are not there for the checkboxesIsolated Example
https://sap.github.io/ui5-webcomponents-react/iframe.html?args=mode:MultiSelect&id=data-display-list--default&viewMode=story
Reproduction steps
Go to List Page
Enable JAWS shortcuts keys
Try accessing the checkboxes, and open JAWS shortcuts keys dialog will not have a unique name for checkboxes.
Expected Behaviour
For a List/Tree where we have
MultiSelect
enable all the checkboxes should have a unique names. a unique nameScreenshots or Videos
UI5 Web Components for React Version
v1.12.0
UI5 Web Components Version
v1.11.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
No response
Declaration
The text was updated successfully, but these errors were encountered: