Skip to content
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

Recommendations for TreeView accessibility #6792

Open
2 of 10 tasks
carmacleod opened this issue Sep 8, 2020 · 1 comment
Open
2 of 10 tasks

Recommendations for TreeView accessibility #6792

carmacleod opened this issue Sep 8, 2020 · 1 comment
Labels
component: treeview proposal: open This request has gone through triaging. We're determining whether we take this on or not. type: a11y ♿ type: enhancement 💡

Comments

@carmacleod
Copy link
Contributor

carmacleod commented Sep 8, 2020

Recommendations for improving accessibility for the (experimental) Carbon unstable_Treeview component.

@dakahn
Copy link
Contributor

dakahn commented Jun 25, 2021

Regarding click targets from @carmacleod

I agree that we need to do something to increase the click target of expandable treeitems.

I understand that Carbon wants to keep the "don't expand on click" behavior, so here's a suggestion: the Windows Explorer tree expands when you double-click on an expandable treeitem (the Mac Finder kind of does something similar, although double-click "expands" by showing the contents of the folder in a reduced tree). So consider adding "double-click expands" behavior. You might want to make it a prop? i.e. doubleClickExpands or singleClickExpands - depending on which one would be a better default behavior for Carbon use cases. Note that single-click expansion is pretty common for trees, too. Check out these trees:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: treeview proposal: open This request has gone through triaging. We're determining whether we take this on or not. type: a11y ♿ type: enhancement 💡
Projects
Status: Later 🧊
Development

No branches or pull requests

5 participants