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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 2 deletions

View File

@ -63,6 +63,7 @@
<mat-progress-spinner
id="adf-document-list-loading"
class="adf-document-list-loading-margin"
[attr.aria-label]="'ADF-DOCUMENT-LIST.LOADER_LABEL' | translate"
[color]="'primary'"
[mode]="'indeterminate'">
</mat-progress-spinner>

View File

@ -71,7 +71,8 @@
"VIEW": "View",
"REMOVE": "Remove",
"DOWNLOAD": "Download"
}
},
"LOADER_LABEL": "Document list loader"
},
"ALFRESCO_DOCUMENT_LIST": {
"BUTTON": {

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",