From fff623be7c213343962a382d75b652be849e89c6 Mon Sep 17 00:00:00 2001 From: Bartosz Sekula Date: Fri, 13 Dec 2024 08:19:44 -0500 Subject: [PATCH] AAE-29042 Added subtitle to arial-label (#10491) --- .../lib/datatable/components/datatable/datatable.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/lib/datatable/components/datatable/datatable.component.html b/lib/core/src/lib/datatable/components/datatable/datatable.component.html index a0f12421e9..6393c0999c 100644 --- a/lib/core/src/lib/datatable/components/datatable/datatable.component.html +++ b/lib/core/src/lib/datatable/components/datatable/datatable.component.html @@ -48,7 +48,7 @@ 'adf-datatable__header--sorted-asc': isColumnSorted(col, 'asc'), 'adf-datatable__header--sorted-desc': isColumnSorted(col, 'desc')}" [ngStyle]="(col.width) && !lastColumn && {'flex': getFlexValue(col)}" - [attr.aria-label]="col.title | translate" + [attr.aria-label]="(col.title | translate) + (col.subtitle ? ' ' + col.subtitle : '')" (click)="onColumnHeaderClick(col, $event)" (keyup.enter)="onColumnHeaderClick(col, $event)" role="columnheader"