Added keyboard navigation to supersize
Allows users to navigate the tree view using the keyboard. The navigation pattern follows the aria guide: https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html - Pressing enter/space will expand the tree node. - Pressing down navigates to the below tree node, up navigates to the above one. - Pressing right will open the tree node, or go to its first child. - Pressing left will close the tree node, or go to its parent. - Pressing home goes to the root node, end goes to the last node on screen. - Pressing a printable character (A-z, $, etc) will go to the node that starts with that character. https://notwoods.github.io/chrome-supersize-reports/monochrome-2018-06-28/ Bug: 847599 Change-Id: I421909090ffff8f99f7ea1e851c4417cb8b26b57 Reviewed-on: https://chromium-review.googlesource.com/1119119Reviewed-by:Eric Stevenson <estevenson@chromium.org> Reviewed-by:
agrieve <agrieve@chromium.org> Commit-Queue: Tiger Oakes <tigero@google.com> Cr-Commit-Position: refs/heads/master@{#572551}
Showing
Please register or sign in to comment