-
-
Notifications
You must be signed in to change notification settings - Fork 601
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
WAI-ARIA support for Tree View #656
Comments
Open questions:
See also handling of treegrid / ext-table #655 |
Is it possible to disable the |
No, I don't think so. What is your use case or concern, that would make this desirable? |
Do I need to add event handler to handle this for now? |
yes that should be possible |
Here are few comments from a testing team:
@mar10 Could you please provide your inputs and guide on the updates required. I will make a fork and send PR based on your suggestions. |
Thanks for the feedback!
How do you select the nodes if you have no checkboxes (and are you are aware that 'selected' and 'active' are independent statuses)? The latest implementation is found here: http://wwwendt.de/tech/fancytree/demo/sample-aria-treegrid.html Which tries to follow the current proposal for WAI Tree Drid 1.1: w3c/aria-practices#132 (As far as I know, this has not been accepted yet.) |
Thanks for the links @mar10 You are right 'selected' and 'active' are independent statuses. Probably NVDA or JAWS interpret them and then the user gets a right message to understand the status of current element. What will be your suggestion for aria-owns, setsize and other attributes? I checked that jquery.fancytree.js includes the login to add necessary attributes. |
See here: http://wwwendt.de/tech/fancytree/demo/sample-aria.html The active item is marked by the
I don't understand what you mean by login. Did you mean logic? The current implementation (see my link above) should give good results in different screen readers. |
@mar10 Yes, that was a typo mistake. In the sample-aria example, aria-setsize, aria-level and aria-posinset is missing. I looked into ariagrid.js extension and in the method name nodeRenderStatus, I could find those properties. Would you recommend to use these or in your opinion those are not required? Below is the snippet from ariagrid.js extension.
Edit: aria-owns is not implemented in ariagrid.js Created this quick extension
Please comment on this approach or this should be part of jquery.fancytree.js |
I think aria-level, -setsize, and -posinset may not be required, because screen readers can easily derive this from the UL/LI structure. (They cannot do this however from the flat TR structure of a tree grid) My question is: why do you think it is required? Do you have a concrete(!) example where screen readers produce better results with additional attributes set? |
https://www.w3.org/TR/wai-aria-practices-1.1/#TreeView
Keyboard Interaction:
WAI-ARIA Roles, States, and Properties:
The text was updated successfully, but these errors were encountered: