mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Denys Vuika
parent
7b52a31001
commit
da154bb58f
@@ -43,7 +43,10 @@
|
||||
},
|
||||
"CORE": {
|
||||
"HEADER": {
|
||||
"LOGO_ARIA": "Company Logo"
|
||||
"LOGO_ARIA": "Company Logo",
|
||||
"ACCESSIBILITY": {
|
||||
"SIDEBAR_TOGGLE_BUTTON_ARIA_LABEL": "Toggle Menu"
|
||||
}
|
||||
},
|
||||
"FILE_SIZE": {
|
||||
"BYTES": "Bytes",
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user