mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[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:
committed by
Cilibiu Bogdan
parent
f335bcf708
commit
8faca1f9a0
@@ -2,6 +2,9 @@
|
|||||||
<div class="current-user__full-name">{{ (profile$ | async)?.userName }}</div>
|
<div class="current-user__full-name">{{ (profile$ | async)?.userName }}</div>
|
||||||
<button
|
<button
|
||||||
mat-icon-button
|
mat-icon-button
|
||||||
|
[attr.aria-label]="
|
||||||
|
'AVATAR.ACCESSIBILITY.AVATAR_BUTTON_ARIA_LABEL' | translate
|
||||||
|
"
|
||||||
class="current-user__avatar am-avatar"
|
class="current-user__avatar am-avatar"
|
||||||
[matMenuTriggerFor]="userMenu"
|
[matMenuTriggerFor]="userMenu"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -477,6 +477,11 @@
|
|||||||
"THIS_YEAR": "This year"
|
"THIS_YEAR": "This year"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"AVATAR": {
|
||||||
|
"ACCESSIBILITY": {
|
||||||
|
"AVATAR_BUTTON_ARIA_LABEL": "User options"
|
||||||
|
}
|
||||||
|
},
|
||||||
"CORE": {
|
"CORE": {
|
||||||
"METADATA": {
|
"METADATA": {
|
||||||
"ACTIONS": {
|
"ACTIONS": {
|
||||||
|
|||||||
Reference in New Issue
Block a user