-
Notifications
You must be signed in to change notification settings - Fork 13
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
Aria-selected and aria-checked are not output correctly for trees #432
Comments
The reason is in my opinion, that normally the focused entry is identical to the selected entry, so an additional output of "selected" would be redundant. This is not the case when using aria-multiselectable=true, so this ARIA attribute will output the status of aria-selected correctly. If this is correct, this is not a JAWS bug, but the examples are incorrectly implemented. |
Hi @JAWS-test Comment: |
I checked aria-multiselectable on your listbox example, not on the tree example. Your new tree example has no aria-multiselectable in the source code. The status of the checkboxes within the treeitems should be transmitted with aria-checked: https://www.w3.org/TR/wai-aria-1.2/#aria-checked. See also: w3c/aria#1052 (comment) |
Hi @JAWS-test :)
should JAWS support it as well, when it is official recommendation? |
of course, JAWS should also support aria-selected in trees if multiple selection is possible. This was not the case in your example. If aria-selected in trees with multiple selection is not supported, this is a JAWS bug. In your example, it is still better to use aria-checked instead of aria-selected because only aria-checked allows the value mixed, as your example requires |
Please also note that the ARIA specification regarding attributes and trees is not final and is currently under discussion: w3c/aria#1311 |
I have checked the example https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1a.html with JAWS 2020 and current version of Chrome:
Since the output of listbox is correct, I suggest renaming the issue: "aria-selected and aria-checked are not output correctly for trees" Note: In the example the attributes aria-selected, aria-checked and aria-multiselectable are missing. I have added them manually. |
@JAWS-test thank you very much for clarification and pointing us to the discussion. I renamed the bug as you suggest. |
Hi, there's any estimation when this issue will be closed? |
validated with example: with JAWS version 2023.2303.144 and I hear JAWS started narration of aria-selected state: |
Summary
Aria-selected state is not narrated to the user.
For more and more detailed info please see comment from JAWS below
#432 (comment)
Repro steps:
https://fluentsite.z22.web.core.windows.net/maximize/tree-multiselect-example-shorthand/false
Expected: JAWS narrates information about aria-selected state
Actual: JAWS doesn't narrate anything about "selected" or "not selected" state
Additional Information
JAWS version and build number
2020.20006.12 ILM
Operating System and version
Win 10 Enterprise
10.0.19041 Build 19041
Browser and version:
Chrome
Version 85.0.4183.83 (Official Build) (64-bit)
Comment
Based on the aria aria-selected should be supported or treeitem and option role based on documentation:
https://www.w3.org/TR/wai-aria-1.1/#aria-selected
The text was updated successfully, but these errors were encountered: