Skip to content

Commit 297cd03

Browse files
committed
fix(ui-tabs): tabpanel content is not accessible with keyboard navigation when it does not have focusable element
Closes: INSTUI-4294
1 parent 1668fa2 commit 297cd03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ui-tabs/src/Tabs/Panel/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ class Panel extends Component<TabsPanelProps> {
108108
{...passthroughProps(props)}
109109
css={styles?.panel}
110110
role="tabpanel"
111+
tabIndex={0}
111112
id={id}
112113
aria-labelledby={labelledBy}
113114
aria-hidden={this.isHidden ? 'true' : undefined}

0 commit comments

Comments
 (0)