You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related paths
input
.ant-tree-treenode-switcher-open
.ant-tree-treenode-switcher-close
How to fix
Fix ONE of the following:
Element has children which are not allowed: input[aria-label], div[aria-grabbed]
Element uses aria-busy="true" while showing a loader
What is expected?
Fix Accessibility issues for antd Tree
What is actually happening?
antd tree has accessibility issues.
Environment
Info
antd
4.24.14
React
17.0.2
System
Windows
Browser
Version 115.0.1901.203
The text was updated successfully, but these errors were encountered:
Ensures elements with an ARIA role that require child roles contain them
Rule name aria-required-children
Path
.ant-tree
Related paths
input
.ant-tree-treenode-switcher-open.ant-tree-treenode-leaf-last[draggable="false"]:nth-child(1)
.ant-tree-treenode-switcher-open.ant-tree-treenode-leaf-last[draggable="false"]:nth-child(2)
.ant-tree-treenode-switcher-open.ant-tree-treenode-leaf-last[draggable="false"]:nth-child(3)
.ant-tree-treenode-switcher-open.ant-tree-treenode-leaf-last[draggable="false"]:nth-child(4)
.ant-tree-treenode-switcher-close
How to fix
Fix ONE of the following:
Element has children which are not allowed: input[aria-label], div[aria-grabbed]
Element uses aria-busy="true" while showing a loader
Reproduction link
Steps to reproduce
antd tree has accessibility issues.
const { DirectoryTree } = Tree;
it says,
Path
.ant-tree
Snippet
What is expected?
Fix Accessibility issues for antd Tree
What is actually happening?
antd tree has accessibility issues.
The text was updated successfully, but these errors were encountered: