mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-2605] - fix: add aria-label to toggle button (#5397)
* fix: add aria-label to toggle button * fix: swap label to use translation key and pipe
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
<button *ngIf="selected" mat-icon-button (click)="toggleSortDirection()">
|
||||
<button *ngIf="selected" mat-icon-button (click)="toggleSortDirection()" aria-label="'CORE.SEARCH.TOGGLE_ASC_DESC_ORDER' | translate">
|
||||
<mat-icon *ngIf="ascending">arrow_upward</mat-icon>
|
||||
<mat-icon *ngIf="!ascending">arrow_downward</mat-icon>
|
||||
</button>
|
||||
|
Reference in New Issue
Block a user