[ADF-4972] CLONE - Header - sidenav menu button aria-label not translatable (#5178)

* Make aria label fron header sidenav toggle button translateable

* Make aria label fron header sidenav toggle button translateable

* Make aria label fron header sidenav toggle button translateable
This commit is contained in:
Martin Muller
2019-10-24 13:58:03 +02:00
committed by Denys Vuika
parent 7b52a31001
commit da154bb58f
2 changed files with 7 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
class="mat-icon-button adf-menu-icon"
mat-icon-button
(click)="toggleMenu()"
aria-label="Toggle Menu">
[attr.aria-label]="'CORE.HEADER.ACCESSIBILITY.SIDEBAR_TOGGLE_BUTTON_ARIA_LABEL' | translate">
<mat-icon
class="mat-icon material-icon"
role="img"
@@ -43,7 +43,8 @@
class="mat-icon-button adf-menu-icon"
mat-icon-button
(click)="toggleMenu()"
aria-label="Toggle Menu">
[attr.aria-label]="'CORE.HEADER.ACCESSIBILITY.SIDEBAR_TOGGLE_BUTTON_ARIA_LABEL' | translate">
>
<mat-icon
class="mat-icon material-icon"
role="img"