From 5feb8442e7db13293a575204666b06ddfdfa16a1 Mon Sep 17 00:00:00 2001 From: Melloware Date: Wed, 29 May 2024 11:43:05 -0400 Subject: [PATCH] Fix #6706: Datatable selection aria locale label (#6707) --- 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 && (