Skip to content

Commit

Permalink
docs(data-table): hide toolbar content from screenreader when hidden (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonjoseph authored Sep 14, 2023
1 parent 811767b commit e4734d9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ export const Default = () => {
Download
</TableBatchAction>
</TableBatchActions>
<TableToolbarContent>
<TableToolbarContent
aria-hidden={batchActionProps.shouldShowBatchActions}>
<TableToolbarSearch
tabIndex={
batchActionProps.shouldShowBatchActions ? -1 : 0
Expand Down

0 comments on commit e4734d9

Please sign in to comment.