mirror of
https://github.com/bitwarden/browser
synced 2026-02-06 19:53:59 +00:00
[PM-2014] feat: improve aria labels
This commit is contained in:
@@ -24,7 +24,14 @@
|
||||
<ng-container *ngIf="!credential.prfSupport">-</ng-container>
|
||||
</td>
|
||||
<td class="tw-py-2 tw-pl-20 tw-pr-0">
|
||||
<button type="button" bitLink [disabled]="loading">{{ "remove" | i18n }}</button>
|
||||
<button
|
||||
type="button"
|
||||
bitLink
|
||||
[disabled]="loading"
|
||||
[attr.aria-label]="('remove' | i18n) + ' ' + credential.name"
|
||||
>
|
||||
{{ "remove" | i18n }}
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -44,7 +51,7 @@
|
||||
*ngIf="!hasCredentials"
|
||||
type="button"
|
||||
bitButton
|
||||
[attr.aria-label]="'enableLoginWithPasskey' | i18n"
|
||||
[attr.aria-label]="('enable' | i18n) + ' ' + ('loginWithPasskey' | i18n)"
|
||||
[disabled]="loading"
|
||||
(click)="createCredential()"
|
||||
>
|
||||
|
||||
@@ -631,9 +631,6 @@
|
||||
"loginWithPasskeyInfo": {
|
||||
"message": "Use facial recognition, a fingerprint, or other FIDO2 security key to log in instead of your email and password."
|
||||
},
|
||||
"enableLoginWithPasskey": {
|
||||
"message": "Turn on log in with passkey"
|
||||
},
|
||||
"newPasskey": {
|
||||
"message": "New passkey"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user