mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
add aria-label to account button (#5338)
This commit is contained in:
parent
f655460fa7
commit
d3efcd9279
@ -45,6 +45,7 @@
|
|||||||
type="button"
|
type="button"
|
||||||
[bitMenuTriggerFor]="accountMenu"
|
[bitMenuTriggerFor]="accountMenu"
|
||||||
class="tw-border-0 tw-bg-transparent tw-text-alt2 tw-opacity-70 hover:tw-opacity-90"
|
class="tw-border-0 tw-bg-transparent tw-text-alt2 tw-opacity-70 hover:tw-opacity-90"
|
||||||
|
attr.aria-label="{{ 'accountLoggedInAsName' | i18n : name }}"
|
||||||
>
|
>
|
||||||
<dynamic-avatar
|
<dynamic-avatar
|
||||||
[text]="name"
|
[text]="name"
|
||||||
|
@ -5429,6 +5429,15 @@
|
|||||||
"message": "Current organization",
|
"message": "Current organization",
|
||||||
"description": "This is used by screen readers to indicate the organization that is currently being shown to the user."
|
"description": "This is used by screen readers to indicate the organization that is currently being shown to the user."
|
||||||
},
|
},
|
||||||
|
"accountLoggedInAsName": {
|
||||||
|
"message": "Account: Logged in as $NAME$",
|
||||||
|
"placeholders": {
|
||||||
|
"name": {
|
||||||
|
"content": "$1",
|
||||||
|
"example": "John Smith"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"accountSettings": {
|
"accountSettings": {
|
||||||
"message": "Account settings"
|
"message": "Account settings"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user