Skip to content

Commit

Permalink
Fix table aria-label propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-kot committed Jul 25, 2023
1 parent 2092f33 commit cab9495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table/internal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ const InternalTable = React.forwardRef(
resizableColumns && styles['table-layout-fixed'],
contentDensity === 'compact' && getVisualContextClassname('compact-table')
)}
{...tableRole.getTableProps({ totalItemsCount })}
{...tableRole.getTableProps({ totalItemsCount, ariaLabel: ariaLabels?.tableLabel })}
>
<Thead
ref={theadRef}
Expand Down

0 comments on commit cab9495

Please sign in to comment.