-
Notifications
You must be signed in to change notification settings - Fork 333
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
Review Navigation Treeview Example Using Declared Properties #226
Comments
Typo: compuuted |
Note that the tree is a keyboard trap in Firefox (Mac and Windows), however this must be a Firefox problem, because tab navigation works fine in both Safari on Mac, and Chrome on Mac and Windows. |
Ctrl+click on link (which opens link in new tab) should not collapse tree. |
Note that keyboard shortcut Shift+F10 does not bring up a context menu for the treeitem links in Firefox (even though right-clicking on the treeitem link opens a link-related context menu). I personally prefer the Chrome behavior, because in this example, the tree items really are links. We want the user to know that they are links, and that they can be navigated with enter, or opened in a new tab, or opened in a new Window, or whatever other link-related things are in the context menu. I agree that we don't want a Screen Reader user to be overwhelmed by all of the (potentially many) treeitem links in the tree. That would make navigation by links, and a List Links dialog almost useless. |
The entries for the Return and Space key behavior say, "Performs the default action (e.g. onclick event) on the current treeitem, in this example updating the "File or Folder Selected" textbox." |
Typo: "relies on the browser to computer values" |
Typo: "his example implements " |
For left arrow when focus is on a child node that is also either an end node or a closed node, did you intend to close the parent node after moving focus to it? In other words, the APG says left arrow should move focus to the parent, but the APG does not say to then collapse the parent. It feels a bit unexpected in this example to have the parent collapse when I am just navigating left. |
Typo in the right arrow function description: "For a treeitem is in the expanded state" |
I find the description of the * (asterisk) behavior somewhat confusing. |
Typo in the second Usage note for tree role: "Accessible name for the tree widget comes from aria-label attribute." |
Typo in the third Usage note for tree role: "the ul[role"tree"] element " |
Since the tree (ul) is using aria-labelledby instead of aria-label, the Usage note for aria-label="string" should be for aria-labelledby="id". (in this case, the id is "tree1"). |
Typo in the fourth Usage note for group role: "the ul[role"group"] element " |
Typo in the first Usage note for treeitem role: |
Here's a quibble: Is a treeitem really a widget? I think of the tree as being the widget, and the treeitems are just treeitems. So, for example, in the previous comment, I would just say, |
Just FYI, this example doesn't work well in VoiceOver/Safari or VoiceOver/Chrome, which is probably something that Apple needs to fix. (You may have already opened a radar for this).
|
…perties Modified examples/treeview/treeview-2/treeview-2b.html for issue #226: * Corrected typos. * Editorial revision to wording. * Added description of function of the example. * Revised statement that said treeitems cannot contain interactive elements because they can contain other treeitems.
…iew Example Using Declared Properties For issue #226, modified examples/treeview/treeview-2/treeview-2b.html: * Under accessibility features, removed redundant information about computed level, setsize, and posinset. * Under accessibility features, removed incorrect statement: "The expandable <code>treeitem</code> widgets cannot behave as links, their only action can be to open and close a leaf in the tree." * Added section summarizing treeview terminology with link to the pattern. * Corrected action defined for enter and space (had the action from the file tree example). * Revisions for editorial consistency to keyboard table. * Updated states/properties section header. * For the tree element, corrected row for label. It specified aria-label instead of aria-labelledby. * Revisions for editorial consistency to states and properties table.
Deferring to Carolyn's extensive comments. Plus - Question: does Home expand any nodes that are closed? |
For issues #223, #224, #225, and #226, modified the keyboard table of the tree view example pages and the keyboard section of the tree view design pattern. For the description of the Home key, per suggestion from @annabbott and @MichielBijl, added the phrase "without opening or closing a node".
Two more issues that need to be resolved before we can complete this review:
|
For issues #223, #224, #225, and #226, made the following changes. 1. In the `tree` row of the states and properties table, change "an tree" to "a tree". 2. In the `tree` row of the states and properties table, removed unnecessary bullet that defines the tree role. 3. In the `tree` row of the states and properties table, reworded the bullet about the roving tabindex focus management. 4. In the source code section of the navigation treeview examples, removed link to no longer existent treeitemClick.js file.
…d editorial revision For issue #226, changed examples/treeview/treeview-2/treeview-2b.html: 1. Revised accessibility features section to explain benefit of custom focus and hover styles. 2. Removed link to javascript file that is no longer included.
Since all feedback raised in this issue is addressed, and since there are many comments, closing this issue. Will open a fresh issue to complete the review process. |
This issue is for collecting feedback on and tracking editorial revisions to the
Navigation Treeview Example Using Declared Properties.
Required Updates
The text was updated successfully, but these errors were encountered: