Skip to content

Commit fcbd470

Browse files
committed
fix(a11y): add label to DatatableV2 progress bar
Closes UXD-1720
1 parent 8a69ab0 commit fcbd470

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/DatatableV2/table/Table.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const Table = <D,>({ table }: { table: DatatableInstance<D> }) => {
5555
data-settings-state={showColumnSettings ? 'open' : 'closed'}
5656
tabIndex={0}
5757
>
58-
{showProgress && <ProgressBar isTop />}
58+
{showProgress && <ProgressBar aria-label="Refreshing data" isTop />}
5959
<table
6060
ref={(ref) => {
6161
tableRef.current = ref;
@@ -66,7 +66,7 @@ const Table = <D,>({ table }: { table: DatatableInstance<D> }) => {
6666
<Header table={table} />
6767
<Body table={table} />
6868
</table>
69-
{showProgress && <ProgressBar isBottom />}
69+
{showProgress && <ProgressBar aria-hidden isBottom />}
7070
</TableRoot>
7171
{showColumnSettings && <Settings table={table} />}
7272
</>

0 commit comments

Comments
 (0)