mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
[PM-10651] Use bitLink instead of icon button and add a11y title (#10483)
This commit is contained in:
@@ -88,11 +88,13 @@
|
||||
<bit-label>
|
||||
{{ "authenticatorKey" | i18n }}
|
||||
<button
|
||||
bitIconButton="bwi-question-circle"
|
||||
bitLink
|
||||
type="button"
|
||||
size="small"
|
||||
[bitPopoverTriggerFor]="totpPopover"
|
||||
></button>
|
||||
[appA11yTitle]="'learnMoreAboutAuthenticators' | i18n"
|
||||
>
|
||||
<i class="bwi bwi-sm bwi-question-circle" aria-hidden="true"></i>
|
||||
</button>
|
||||
<bit-popover #totpPopover [title]="'totpHelperTitle' | i18n">
|
||||
<p>{{ (canCaptureTotp ? "totpHelperWithCapture" : "totpHelper") | i18n }}</p>
|
||||
</bit-popover>
|
||||
|
||||
@@ -14,6 +14,7 @@ import {
|
||||
CardComponent,
|
||||
FormFieldModule,
|
||||
IconButtonModule,
|
||||
LinkModule,
|
||||
PopoverModule,
|
||||
SectionComponent,
|
||||
SectionHeaderComponent,
|
||||
@@ -43,6 +44,7 @@ import { AutofillOptionsComponent } from "../autofill-options/autofill-options.c
|
||||
NgIf,
|
||||
PopoverModule,
|
||||
AutofillOptionsComponent,
|
||||
LinkModule,
|
||||
],
|
||||
})
|
||||
export class LoginDetailsSectionComponent implements OnInit {
|
||||
|
||||
Reference in New Issue
Block a user