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

PM-11130 add aria labels to pw count and website launch in view v2 (#10776)

This commit is contained in:
Jason Ng 2024-08-29 17:44:53 -04:00 committed by GitHub
parent 57a1668a06
commit 2d753f2778
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 0 deletions

View File

@ -4293,5 +4293,8 @@
}, },
"enterprisePolicyRequirementsApplied": { "enterprisePolicyRequirementsApplied": {
"message": "Enterprise policy requirements have been applied to this setting" "message": "Enterprise policy requirements have been applied to this setting"
},
"additionalContentAvailable": {
"message": "Additional content is available"
} }
} }

View File

@ -9022,5 +9022,8 @@
"publicApi": { "publicApi": {
"message": "Public API", "message": "Public API",
"description": "The text, 'API', is an acronymn and should not be translated." "description": "The text, 'API', is an acronymn and should not be translated."
},
"additionalContentAvailable": {
"message": "Additional content is available"
} }
} }

View File

@ -22,6 +22,7 @@
type="button" type="button"
(click)="openWebsite(login.launchUri)" (click)="openWebsite(login.launchUri)"
data-testid="launch-website" data-testid="launch-website"
[attr.aria-label]="('launch' | i18n) + ' ' + login.hostOrUri"
></button> ></button>
<button <button
bitIconButton="bwi-clone" bitIconButton="bwi-clone"

View File

@ -54,6 +54,7 @@
[appA11yTitle]="'toggleCharacterCount' | i18n" [appA11yTitle]="'toggleCharacterCount' | i18n"
appStopClick appStopClick
(click)="togglePasswordCount()" (click)="togglePasswordCount()"
[attr.aria-label]="'additionalContentAvailable' | i18n"
></button> ></button>
<button <button
*ngIf="cipher.viewPassword" *ngIf="cipher.viewPassword"