1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 11:43:51 +00: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
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"
},