diff --git a/components/table/__tests__/__snapshots__/Table.rowSelection.test.tsx.snap b/components/table/__tests__/__snapshots__/Table.rowSelection.test.tsx.snap index 984c18e54943..4cedee23a247 100644 --- a/components/table/__tests__/__snapshots__/Table.rowSelection.test.tsx.snap +++ b/components/table/__tests__/__snapshots__/Table.rowSelection.test.tsx.snap @@ -53,6 +53,7 @@ exports[`Table.rowSelection fix expand on th left when selection column fixed on class="ant-checkbox" > @@ -19415,6 +19416,7 @@ exports[`renders ./components/table/demo/order-column.md extend context correctl class="ant-checkbox" > @@ -21838,6 +21840,7 @@ exports[`renders ./components/table/demo/row-selection.md extend context correct class="ant-checkbox" > @@ -22189,6 +22192,7 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md extend c class="ant-checkbox" > @@ -22788,6 +22792,7 @@ exports[`renders ./components/table/demo/row-selection-custom.md extend context class="ant-checkbox" > @@ -23707,6 +23712,7 @@ exports[`renders ./components/table/demo/row-selection-custom-debug.md extend co class="ant-checkbox" > @@ -26466,6 +26472,7 @@ Array [ class="ant-checkbox" > @@ -26766,6 +26773,7 @@ Array [ class="ant-checkbox" > diff --git a/components/table/__tests__/__snapshots__/demo.test.ts.snap b/components/table/__tests__/__snapshots__/demo.test.ts.snap index d9c65367cf6d..7a49c23c5cfc 100644 --- a/components/table/__tests__/__snapshots__/demo.test.ts.snap +++ b/components/table/__tests__/__snapshots__/demo.test.ts.snap @@ -2767,6 +2767,7 @@ Array [ class="ant-checkbox" > @@ -14433,6 +14434,7 @@ exports[`renders ./components/table/demo/order-column.md correctly 1`] = ` class="ant-checkbox" > @@ -16384,6 +16386,7 @@ exports[`renders ./components/table/demo/row-selection.md correctly 1`] = ` class="ant-checkbox" > @@ -16735,6 +16738,7 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md correctl class="ant-checkbox" > @@ -17334,6 +17338,7 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] = class="ant-checkbox" > @@ -17959,6 +17964,7 @@ exports[`renders ./components/table/demo/row-selection-custom-debug.md correctly class="ant-checkbox" > @@ -20602,6 +20608,7 @@ Array [ class="ant-checkbox" > @@ -20902,6 +20909,7 @@ Array [ class="ant-checkbox" > diff --git a/components/table/hooks/useSelection.tsx b/components/table/hooks/useSelection.tsx index 8c07d253b981..0711fe906f8d 100644 --- a/components/table/hooks/useSelection.tsx +++ b/components/table/hooks/useSelection.tsx @@ -463,6 +463,7 @@ export default function useSelection( } onChange={onSelectAllChange} disabled={flattedData.length === 0 || allDisabled} + aria-label={customizeSelections ? 'Custom selection' : 'Select all'} skipGroup /> {customizeSelections} diff --git a/components/transfer/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/transfer/__tests__/__snapshots__/demo-extend.test.ts.snap index acc75ce75a41..ca7da6d1d680 100644 --- a/components/transfer/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/transfer/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -6550,6 +6550,7 @@ Array [ class="ant-checkbox" > @@ -7399,6 +7400,7 @@ Array [ class="ant-checkbox" > diff --git a/components/transfer/__tests__/__snapshots__/demo.test.ts.snap b/components/transfer/__tests__/__snapshots__/demo.test.ts.snap index 0b7cf9816a9c..91f5687d8e3d 100644 --- a/components/transfer/__tests__/__snapshots__/demo.test.ts.snap +++ b/components/transfer/__tests__/__snapshots__/demo.test.ts.snap @@ -4044,6 +4044,7 @@ Array [ class="ant-checkbox" > @@ -4764,6 +4765,7 @@ Array [ class="ant-checkbox" >