question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[mat-tree] Keyboard Interaction recommended by WAI-ARIA

See original GitHub issue

Bug, 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 keyboard-navigation

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:open
  • Created 5 years ago
  • Reactions:7
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
angular-robot[bot]commented, Feb 1, 2022

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.

3reactions
angular-robot[bot]commented, Feb 22, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found