From df8859d976a5fcc553afe719eb26c8e33a0acdd3 Mon Sep 17 00:00:00 2001 From: Jens Vannerum Date: Mon, 3 Feb 2025 11:20:18 +0100 Subject: [PATCH] 119612: aria-label to also include warning message if applicable (cherry picked from commit 8eaff7873761d8ef5c34af98780f28c16c374700) --- .../search/search-export-csv/search-export-csv.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/search/search-export-csv/search-export-csv.component.html b/src/app/shared/search/search-export-csv/search-export-csv.component.html index 35ef89b728..8c92ff8fbd 100644 --- a/src/app/shared/search/search-export-csv/search-export-csv.component.html +++ b/src/app/shared/search/search-export-csv/search-export-csv.component.html @@ -15,6 +15,6 @@ class="export-button btn btn-dark btn-sm" [ngbTooltip]="(shouldShowWarning$ | async) ? tipContentWarning : tipContent" (click)="export()" - [title]="tooltipMsg |translate" [attr.aria-label]="tooltipMsg |translate"> + [title]="tooltipMsg | translate" [attr.aria-label]="(shouldShowWarning$ | async) ? ((tooltipMsg | translate) + ' ' + exportLimitExceededMsg): (tooltipMsg | translate)">