-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
scope: tree viewChanges related to the tree view. This includes TreeView, TreeItem.Changes related to the tree view. This includes TreeView, TreeItem.
Description
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
- Only click is disabled
- Single select tree item when not selected will have aria-selected=false
Expected Behavior 🤔
- Expect all selection to be disabled.
-
If the tree does not support multiple selection, aria-selected is set to true for the selected node and it is not present on any other node in the tree.
Steps to Reproduce 🕹
https://codesandbox.io/s/silly-knuth-yidwl
Steps:
- Focus Apples
- Press space - Apples is selected
- Click the button
Context 🔦
Trying to disable selection.
Expecting aria authoring practices
Metadata
Metadata
Assignees
Labels
scope: tree viewChanges related to the tree view. This includes TreeView, TreeItem.Changes related to the tree view. This includes TreeView, TreeItem.