ACS-3544 Fix accessibility issues in ACA trashcan (#7845)

This commit is contained in:
MichalKinas
2022-09-22 07:55:28 +02:00
committed by GitHub
parent 21fd1a0dbf
commit 1a06c2866a
4 changed files with 7 additions and 2 deletions

View File

@@ -66,6 +66,8 @@
<span *ngIf="col.title && col.sortable && isDraggingHeaderColumn" class="adf-sr-only" aria-live="polite">
{{ getSortLiveAnnouncement(col) | translate: { string: col.title | translate } }}
</span>
<span *ngIf="!col.title && !col.sortable && !headerFilterTemplate" [attr.title]="'ADF-DATATABLE.ACCESSIBILITY.EMPTY_HEADER' | translate"></span>
</ng-container>
<div *ngIf="col.header" class="adf-datatable-cell-value">

View File

@@ -335,7 +335,8 @@
"SORT_DESCENDING_BY": "Descending by {{ string }}",
"ICON_TEXT": "Item type {{ type }}",
"ICON_DISABLED": "Disabled",
"ROW_OPTION_BUTTON": "Actions"
"ROW_OPTION_BUTTON": "Actions",
"EMPTY_HEADER": "Empty header"
},
"FILE_TYPE": {
"DOCUMENT": "Document",