[mat-tree] Keyboard Interaction recommended by WAI-ARIA
See original GitHub issueBug, feature request, or proposal:
Feature request
What is the expected behavior?
Read expected behavior under “Keyboard interactions” at w3.org/TR/wai-aria-practices/#TreeView. Should use TAB
to focus [mat-tree] and use arrows to navigate. Similar to radio button behaviour.
What is the current behavior?
TAB
and SHIFT + TAB
to navigate. SPACE
or ENTER
to open/close a node.
What are the steps to reproduce?
Look at the example here: w3.org/TR/wai-aria-practices/examples/treeview/treeview-1/treeview-1a.html
What is the use-case or motivation for changing an existing behavior?
To make [mat-tree] more usable and accessible. Especially important when having lots of items in a tree.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular: 6.1.4 @angular/material: 6.4.6 OS: Windows 10 Chrome: 69.0.3497.81 Typescript: 2.7.2
Is there anything else we should know?
No
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:8 (4 by maintainers)
Top Results From Across the Web
[mat-tree] Keyboard Interaction recommended by WAI-ARIA
Should use TAB to focus [mat-tree] and use arrows to navigate. Similar to radio button behaviour.
Read more >Using ARIA Keyboard Patterns for Interactive Widgets
The WAI Authoring Practices breaks down recommended keyboard patterns for various widgets.
Read more >WAI-ARIA Best Practices - W3C
Abstract. This document specifies Best Practices for delivering accessible rich internet applications using WAI-ARIA [ ARIA ].
Read more >ARIA: tree role - Accessibility - MDN Web Docs - Mozilla
A tree is a widget that allows the user to select one or more items from a hierarchically organized collection.
Read more >Aef - River Thames Conditions - Environment Agency - GOV.UK
Bernard aubert boehringer ingelheim, Road rage loop switcher, Best western next to ... Forever's as far as i'll go alabama, Select text android...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular’s feature request process in our documentation.
Thank you for submitting your feature request! Looks like during the polling process it didn’t collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular’s scope, we’d encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.