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

[PM-1024] feat: add badge and button aria label

This commit is contained in:
Andreas Coroiu 2023-05-04 09:29:23 +02:00
parent bc6cff8a66
commit 676d9948f1
No known key found for this signature in database
GPG Key ID: E70B5FFC81DFEC1A
2 changed files with 9 additions and 2 deletions

View File

@ -1,7 +1,11 @@
<h2 bitTypography="h2">{{ "loginWithPasskey" | i18n }}</h2>
<h2 bitTypography="h2">
{{ "loginWithPasskey" | i18n }} <span bitBadge badgeType="secondary">Not implemented</span>
</h2>
<p bitTypography="body1">
{{ "loginWithPasskeyInfo" | i18n }}
<a bitLink href="???">{{ "learnMoreAboutPasswordless" | i18n }}</a>
</p>
<button type="button" bitButton>{{ "enable" | i18n }}</button>
<button type="button" bitButton [attr.aria-label]="'enableLoginWithPasskey' | i18n">
{{ "enable" | i18n }}
</button>

View File

@ -631,6 +631,9 @@
"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"
},
"learnMoreAboutPasswordless": {
"message": "Learn more about passwordless"
},