1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00

update aria label of the character count toggle (#10915)

This commit is contained in:
Nick Krantz 2024-09-06 08:49:46 -05:00 committed by GitHub
parent 92e71d9252
commit fb1a294c97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 7 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"