mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
PM-9417 - PasswordStrengthComp - A11y improvement - add screen reader announcement for all usages of password strength. (#13515)
This commit is contained in:
@@ -80,6 +80,15 @@
|
||||
"masterPassHint": {
|
||||
"message": "Master password hint (optional)"
|
||||
},
|
||||
"passwordStrengthScore": {
|
||||
"message": "Password strength score $SCORE$",
|
||||
"placeholders": {
|
||||
"score": {
|
||||
"content": "$1",
|
||||
"example": "4"
|
||||
}
|
||||
}
|
||||
},
|
||||
"joinOrganization": {
|
||||
"message": "Join organization"
|
||||
},
|
||||
|
||||
@@ -704,6 +704,15 @@
|
||||
"masterPassHintLabel": {
|
||||
"message": "Master password hint"
|
||||
},
|
||||
"passwordStrengthScore": {
|
||||
"message": "Password strength score $SCORE$",
|
||||
"placeholders": {
|
||||
"score": {
|
||||
"content": "$1",
|
||||
"example": "4"
|
||||
}
|
||||
}
|
||||
},
|
||||
"joinOrganization": {
|
||||
"message": "Join organization"
|
||||
},
|
||||
|
||||
@@ -4779,6 +4779,15 @@
|
||||
"masterPassPolicyDesc": {
|
||||
"message": "Set requirements for master password strength."
|
||||
},
|
||||
"passwordStrengthScore": {
|
||||
"message": "Password strength score $SCORE$",
|
||||
"placeholders": {
|
||||
"score": {
|
||||
"content": "$1",
|
||||
"example": "4"
|
||||
}
|
||||
}
|
||||
},
|
||||
"twoStepLoginPolicyTitle": {
|
||||
"message": "Require two-step login"
|
||||
},
|
||||
|
||||
@@ -5,3 +5,7 @@
|
||||
[showText]="showText"
|
||||
[barWidth]="scoreWidth"
|
||||
></bit-progress>
|
||||
|
||||
<div aria-live="polite" class="tw-sr-only">
|
||||
{{ "passwordStrengthScore" | i18n: text }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user