Skip to content

Commit 5b19ebe

Browse files
author
Jens Vannerum
committed
119612: aria-label to also include warning message if applicable
(cherry picked from commit 8eaff78)
1 parent 32511b0 commit 5b19ebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/shared/search/search-export-csv/search-export-csv.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
class="export-button btn btn-dark btn-sm"
1616
[ngbTooltip]="(shouldShowWarning$ | async) ? tipContentWarning : tipContent"
1717
(click)="export()"
18-
[title]="tooltipMsg |translate" [attr.aria-label]="tooltipMsg |translate">
18+
[title]="tooltipMsg | translate" [attr.aria-label]="(shouldShowWarning$ | async) ? ((tooltipMsg | translate) + ' ' + exportLimitExceededMsg): (tooltipMsg | translate)">
1919
<i class="fas fa-file-export fa-fw"></i>
2020
</button>

0 commit comments

Comments
 (0)