Skip to content

Commit 591d55b

Browse files
committed
fix: add tabIndex to VariantItem for accessibility
1 parent 0dca946 commit 591d55b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/variant-select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const StyledOverlay = styled(ActionMenu.Overlay)`
1616

1717
const VariantItem = ({title, shortName, url, active}) => {
1818
return (
19-
<ActionList.Item state={{scrollUpdate: false}} id={shortName} active={active}>
19+
<ActionList.Item state={{scrollUpdate: false}} id={shortName} active={active} tabIndex={null}>
2020
<LinkNoUnderline to={url}>{title}</LinkNoUnderline>
2121
</ActionList.Item>
2222
)

0 commit comments

Comments
 (0)