diff --git a/packages/react/src/components/TreeView/TreeNode.js b/packages/react/src/components/TreeView/TreeNode.js index 4505f60477de..e6e4d4fb3881 100644 --- a/packages/react/src/components/TreeView/TreeNode.js +++ b/packages/react/src/components/TreeView/TreeNode.js @@ -171,6 +171,7 @@ export default function TreeNode({ const treeNodeProps = { ...rest, + ['aria-current']: isActive || null, ['aria-selected']: disabled ? null : isSelected, ['aria-disabled']: disabled, className: treeNodeClasses, diff --git a/packages/react/src/components/TreeView/TreeView.js b/packages/react/src/components/TreeView/TreeView.js index 3d25b4bf68aa..994253c157e7 100644 --- a/packages/react/src/components/TreeView/TreeView.js +++ b/packages/react/src/components/TreeView/TreeView.js @@ -161,6 +161,7 @@ export default function TreeView({ {...rest} aria-label={hideLabel ? label : null} aria-labelledby={!hideLabel ? labelId : null} + aria-multiselectable={multiselect || null} className={treeClasses} onKeyDown={handleKeyDown} ref={treeRootRef} diff --git a/packages/react/src/components/TreeView/__snapshots__/TreeView-test.js.snap b/packages/react/src/components/TreeView/__snapshots__/TreeView-test.js.snap index 8e908c5edf78..ac1115c7aefe 100644 --- a/packages/react/src/components/TreeView/__snapshots__/TreeView-test.js.snap +++ b/packages/react/src/components/TreeView/__snapshots__/TreeView-test.js.snap @@ -21,6 +21,7 @@ exports[`TreeView should render 1`] = `