Skip to content

Commit

Permalink
fixed a11y failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrances17 committed Jan 29, 2024
1 parent 48a9303 commit 71db7df
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const DualListSelectorBasic: React.FunctionComponent = () => {
<DualListSelectorListItem
key={index}
isSelected={option.selected}
id={`available-option-${index}`}
id={`basic-available-option-${index}`}
onOptionSelect={(e) => onOptionSelect(e, index, false)}
>
{option.text}
Expand Down Expand Up @@ -143,7 +143,7 @@ export const DualListSelectorBasic: React.FunctionComponent = () => {
<DualListSelectorListItem
key={index}
isSelected={option.selected}
id={`composable-chosen-option-${index}`}
id={`composable-basic-chosen-option-${index}`}
onOptionSelect={(e) => onOptionSelect(e, index, true)}
>
{option.text}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const DualListSelectorSearch: React.FunctionComponent = () => {
<DualListSelectorListItem
key={index}
isSelected={option.selected}
id={`available-option-${index}`}
id={`search-available-option-${index}`}
onOptionSelect={(e) => onOptionSelect(e, index, false)}
>
{option.text}
Expand Down Expand Up @@ -199,7 +199,7 @@ export const DualListSelectorSearch: React.FunctionComponent = () => {
<DualListSelectorListItem
key={index}
isSelected={option.selected}
id={`composable-chosen-option-${index}`}
id={`composable-search-chosen-option-${index}`}
onOptionSelect={(e) => onOptionSelect(e, index, true)}
>
{option.text}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const DualListSelectorBasic: React.FunctionComponent = () => {
<DualListSelectorListItem
key={index}
isSelected={option.selected}
id={`available-option-${index}`}
id={`tooltips-available-option-${index}`}
onOptionSelect={(e) => onOptionSelect(e, index, false)}
>
{option.text}
Expand Down Expand Up @@ -151,7 +151,7 @@ export const DualListSelectorBasic: React.FunctionComponent = () => {
<DualListSelectorListItem
key={index}
isSelected={option.selected}
id={`composable-chosen-option-${index}`}
id={`composable-tooltips-chosen-option-${index}`}
onOptionSelect={(e) => onOptionSelect(e, index, true)}
>
{option.text}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export const DualListSelectorComplexOptionsActionsNext: React.FunctionComponent
<DualListSelectorListItem
key={index}
isSelected={option.selected}
id={`available-option-${index}`}
id={`complex-available-option-${index}`}
onOptionSelect={(e) => onOptionSelect(e, index, false)}
isDisabled={isDisabled}
>
Expand Down Expand Up @@ -322,7 +322,7 @@ export const DualListSelectorComplexOptionsActionsNext: React.FunctionComponent
<DualListSelectorListItem
key={index}
isSelected={option.selected}
id={`composable-chosen-option-${index}`}
id={`composable-complex-chosen-option-${index}`}
onOptionSelect={(e) => onOptionSelect(e, index, true)}
isDisabled={isDisabled}
>
Expand Down

0 comments on commit 71db7df

Please sign in to comment.