mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
[PM-11131] Screen Reader Announcements for Copy (#11091)
* add copy specific aria-labels for login ciphers * add copy specific aria-labels for card ciphers * add copy translations for identity to web translations
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
[appCopyClick]="cipher.login.username"
|
||||
[valueLabel]="'username' | i18n"
|
||||
showToast
|
||||
[appA11yTitle]="'copyValue' | i18n"
|
||||
[appA11yTitle]="'copyUsername' | i18n"
|
||||
data-testid="copy-username"
|
||||
></button>
|
||||
</bit-form-field>
|
||||
@@ -64,7 +64,7 @@
|
||||
[appCopyClick]="cipher.login.password"
|
||||
[valueLabel]="'password' | i18n"
|
||||
showToast
|
||||
[appA11yTitle]="'copyValue' | i18n"
|
||||
[appA11yTitle]="'copyPassword' | i18n"
|
||||
data-testid="copy-password"
|
||||
(click)="logCopyEvent()"
|
||||
></button>
|
||||
@@ -127,7 +127,7 @@
|
||||
[appCopyClick]="totpCodeCopyObj?.totpCode"
|
||||
[valueLabel]="'verificationCodeTotp' | i18n"
|
||||
showToast
|
||||
[appA11yTitle]="'copyValue' | i18n"
|
||||
[appA11yTitle]="'copyVerificationCode' | i18n"
|
||||
data-testid="copy-totp"
|
||||
[disabled]="!(isPremium$ | async)"
|
||||
class="disabled:tw-cursor-default"
|
||||
|
||||
Reference in New Issue
Block a user