[a11y]: Tree view component does not expand/collapse node on Enter key #18837
Labels
component: treeview
package: @carbon/react
@carbon/react
severity: 2
https://ibm.biz/carbon-severity
type: a11y ♿
type: bug 🐛
Package
@carbon/react
Browser
Chrome
Operating System
MacOS
Package version
v11
React version
v17
Automated testing tool and ruleset
IBM Equal Access Accessibility Checker Version 4.0.0
Assistive technology
No response
Description
The expand/collapse feature of the nodes which works on click does not seem to work with Enter key. Its throwing an error instead.
This issue can be reproduced in the Carbon Components doc if you click Enter a couple of times on a node with expand option
WCAG 2.1 Violation
Yes
Reproduction/example
https://react.carbondesignsystem.com/?path=/docs/components-treeview--overview
Steps to reproduce
Suggested Severity
Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.
Code of Conduct
The text was updated successfully, but these errors were encountered: