From 84be47a1f8fc0dcdcda39f510ea20fdd87dc3680 Mon Sep 17 00:00:00 2001 From: melloware Date: Wed, 29 May 2024 11:42:39 -0400 Subject: [PATCH] Fix #6706: Datatable selection aria locale label --- components/lib/datatable/BodyCell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/BodyCell.js b/components/lib/datatable/BodyCell.js index 3a841ca4cc..590f99a685 100644 --- a/components/lib/datatable/BodyCell.js +++ b/components/lib/datatable/BodyCell.js @@ -602,7 +602,7 @@ export const BodyCell = React.memo((props) => { const ariaLabelField = props.selectionAriaLabel || props.tableProps.dataKey; const ariaLabelText = ObjectUtils.resolveFieldData(props.rowData, ariaLabelField); - label = `${props.selected ? ariaLabel('unselectLabel') : ariaLabel('selectLabel')} ${ariaLabelText}`; + label = `${props.selected ? ariaLabel('unselectRow') : ariaLabel('selectRow')} ${ariaLabelText}`; } content = showSelection && (