[Files app] Fix DirectoryTree ARIA markup
Add role="group" to tree children so Chromevox reads the depth level of each sub-tree correctly. Fix cr.ui.TreeItem to set aria-expanded the same as expanded attribute, for Files app we set expanded=true before setting hasChildren, which was causing aria-expanded to be always false. Add unittest for DirectoryTree to check for aria-expanded and role=group. Bug: 888671 Change-Id: I5b99a720a59f051d551655f1aab86effa15d5d89 Reviewed-on: https://chromium-review.googlesource.com/c/1490366Reviewed-by:Joel Hockey <joelhockey@chromium.org> Reviewed-by:
calamity <calamity@chromium.org> Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/master@{#636280}
Showing
Please register or sign in to comment