Skip to content

Commit

Permalink
voiceover why
Browse files Browse the repository at this point in the history
Co-authored-by: Trevor Pierce <[email protected]>
  • Loading branch information
cee-chen and 1Copenut committed Feb 7, 2024
1 parent 6b0cc92 commit dda6306
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ exports[`EuiTreeView is rendered 1`] = `
class="euiTreeView testClass1 testClass2 emotion-euiTreeView-default-euiTestCss"
data-test-subj="test subject string"
id="euiTreeView_generated-id"
role="list"
>
<li
class="euiTreeView__node euiTreeView__node--expanded emotion-euiTreeView__node-default-expanded"
Expand Down Expand Up @@ -43,6 +44,7 @@ exports[`EuiTreeView is rendered 1`] = `
>
<ul
class="euiTreeView emotion-euiTreeView-default"
role="list"
>
<li
class="euiTreeView__node emotion-euiTreeView__node-default"
Expand Down
1 change: 1 addition & 0 deletions src/components/tree_view/tree_view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ export class EuiTreeViewClass extends Component<
className={classes}
id={!this.isNested ? this.state.treeID : undefined}
aria-describedby={!this.isNested ? instructionsId : undefined}
role="list"
{...rest}
>
{items.map((node, index) => {
Expand Down

0 comments on commit dda6306

Please sign in to comment.