update aria label of the character count toggle (#10915)
This commit is contained in:
parent
92e71d9252
commit
fb1a294c97
|
@ -4300,8 +4300,11 @@
|
|||
"enterprisePolicyRequirementsApplied": {
|
||||
"message": "Enterprise policy requirements have been applied to this setting"
|
||||
},
|
||||
"additionalContentAvailable": {
|
||||
"message": "Additional content is available"
|
||||
"showCharacterCount": {
|
||||
"message": "Show character count"
|
||||
},
|
||||
"hideCharacterCount": {
|
||||
"message": "Hide character count"
|
||||
},
|
||||
"itemsInTrash": {
|
||||
"message": "Items in trash"
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
},
|
||||
"itemHistory": {
|
||||
"message": "Item history"
|
||||
},
|
||||
},
|
||||
"authenticatorKey": {
|
||||
"message": "Authenticator key"
|
||||
},
|
||||
|
@ -9050,8 +9050,11 @@
|
|||
"message": "Public API",
|
||||
"description": "The text, 'API', is an acronymn and should not be translated."
|
||||
},
|
||||
"additionalContentAvailable": {
|
||||
"message": "Additional content is available"
|
||||
"showCharacterCount": {
|
||||
"message": "Show character count"
|
||||
},
|
||||
"hideCharacterCount": {
|
||||
"message": "Hide character count"
|
||||
},
|
||||
"editAccess": {
|
||||
"message": "Edit access"
|
||||
|
|
|
@ -51,10 +51,10 @@
|
|||
bitSuffix
|
||||
type="button"
|
||||
data-testid="toggle-password-count"
|
||||
[appA11yTitle]="'toggleCharacterCount' | i18n"
|
||||
[appA11yTitle]="(showPasswordCount ? 'hideCharacterCount' : 'showCharacterCount') | i18n"
|
||||
[attr.aria-expanded]="showPasswordCount"
|
||||
appStopClick
|
||||
(click)="togglePasswordCount()"
|
||||
[attr.aria-label]="'additionalContentAvailable' | i18n"
|
||||
></button>
|
||||
<button
|
||||
*ngIf="cipher.viewPassword"
|
||||
|
|
Loading…
Reference in New Issue