diff --git a/src/components/SelectionList/BaseListItem.tsx b/src/components/SelectionList/BaseListItem.tsx index 5876e476afa2..f5e565504354 100644 --- a/src/components/SelectionList/BaseListItem.tsx +++ b/src/components/SelectionList/BaseListItem.tsx @@ -82,6 +82,7 @@ function BaseListItem({ id={keyForList ?? ''} style={pressableStyle} onFocus={onFocus} + tabIndex={item.tabIndex} > {typeof children === 'function' ? children(hovered) : children} diff --git a/src/components/SelectionList/types.ts b/src/components/SelectionList/types.ts index 0a4b0532b581..8ceda97349a4 100644 --- a/src/components/SelectionList/types.ts +++ b/src/components/SelectionList/types.ts @@ -125,6 +125,9 @@ type ListItem = { /** Whether the brick road indicator should be shown */ brickRoadIndicator?: BrickRoad | '' | null; + + /** Whether item pressable wrapper should be focusable */ + tabIndex?: 0 | -1; }; type TransactionListItemType = ListItem &