[ACA-2507] Header - link does not have a role (#1231)

* Add meaning full aria label to avatar icon button

* Add meaning full aria label to avatar icon button

* Add meaning full aria label to avatar icon button

* Add meaning full aria label to avatar icon button

* Update current-user.component.html

VS Code doesn't do the formate changing ... trying browser editor

* Move aria label string from avatar button
This commit is contained in:
Martin Muller
2019-10-21 17:53:34 +03:00
committed by Cilibiu Bogdan
parent f335bcf708
commit 8faca1f9a0
2 changed files with 8 additions and 0 deletions
@@ -2,6 +2,9 @@
<div class="current-user__full-name">{{ (profile$ | async)?.userName }}</div>
<button
mat-icon-button
[attr.aria-label]="
'AVATAR.ACCESSIBILITY.AVATAR_BUTTON_ARIA_LABEL' | translate
"
class="current-user__avatar am-avatar"
[matMenuTriggerFor]="userMenu"
>
+5
View File
@@ -477,6 +477,11 @@
"THIS_YEAR": "This year"
}
},
"AVATAR": {
"ACCESSIBILITY": {
"AVATAR_BUTTON_ARIA_LABEL": "User options"
}
},
"CORE": {
"METADATA": {
"ACTIONS": {