Skip to content

Commit 5757544

Browse files
dakahntay1orjoneskodiakhq[bot]
authored
fix(MultiSelect): remove aria hidden on ListBoxSelection button (#9924)
* fix(MultiSelect): remove aria hidden on ListBoxSelection * chore: update snaps Co-authored-by: Taylor Jones <tay1orjones@users.noreply.github.com> Co-authored-by: Taylor Jones <taylor.jones826@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 7d4c511 commit 5757544

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

packages/react/src/components/ListBox/ListBoxSelection.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ const ListBoxSelection = ({
7676
onKeyDown={handleOnKeyDown}
7777
disabled={disabled}
7878
aria-label={t('clear.all')}
79-
aria-hidden={true}
8079
title={description}>
8180
<Close16 />
8281
</div>
@@ -89,7 +88,6 @@ const ListBoxSelection = ({
8988
onClick={handleOnClick}
9089
onKeyDown={handleOnKeyDown}
9190
aria-label={description}
92-
aria-hidden={true}
9391
title={description}>
9492
{selectionCount}
9593
<Close16 />

packages/react/src/components/ListBox/__tests__/__snapshots__/ListBoxField-test.js.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ exports[`ListBoxField should render 1`] = `
1414
translateWithId={[Function]}
1515
>
1616
<div
17-
aria-hidden={true}
1817
aria-label="Clear selected item"
1918
className="bx--list-box__selection"
2019
onClick={[Function]}

packages/react/src/components/ListBox/__tests__/__snapshots__/ListBoxSelection-test.js.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ exports[`ListBoxSelection should render 1`] = `
3434
}
3535
>
3636
<div
37-
aria-hidden={true}
3837
aria-label="translation"
3938
className="bx--list-box__selection"
4039
onClick={[Function]}
@@ -116,7 +115,6 @@ exports[`ListBoxSelection should render 2`] = `
116115
3
117116
</span>
118117
<div
119-
aria-hidden={true}
120118
aria-label="translation"
121119
className="bx--tag__close-icon"
122120
onClick={[Function]}

0 commit comments

Comments
 (0)