tree icon indicating copy to clipboard operation
tree copied to clipboard

ARIA roles missing

Open leahbelyea opened this issue 2 years ago • 1 comments

The "tree" role is being used in this package, but the other required roles do not seem to be. According to W3C, when using ARIA trees, the roles "group" and "treeitem" must be used in conjunction with the "tree" role. These roles seem to be missing from this package, causing a poor accessibility experience (keyboard support for trees is not enabled due to the missing roles). Accessibility tool scans (e.g., Axe) are also failing due to the missing roles.

leahbelyea avatar Jul 04 '22 15:07 leahbelyea

Any update or acknowledgement of this one? We're trying to migrate from ant design vue to ant design (which uses rc-tree under the covers) and this is breaking our tests. Seems the Ant Design Vue team have ported rc-tree to vue and added this themselves

hisuwh avatar May 16 '23 13:05 hisuwh