1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 05:00:10 +00:00

changed link to button for accessibilty purposes

This commit is contained in:
gbubemismith
2023-10-12 22:05:40 -04:00
parent cabd855c54
commit 35e9193152
2 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
<div class="useBrowserlink" *ngIf="(fido2PopoutSessionData$ | async).fallbackSupported">
<a [routerLink]="[]" (click)="abort()">
<button appStopClick type="button" (click)="abort()">
{{ "useBrowserName" | i18n }}
</a>
</button>
</div>

View File

@@ -53,7 +53,7 @@
*ngFor="let cipherItem of displayedCiphers"
[cipher]="cipherItem"
[isSearching]="searchPending"
title="{{ 'fido2Item' | i18n }}"
title="{{ 'passkeyItem' | i18n }}"
(onSelected)="selectedPasskey($event)"
[isSelected]="cipher === cipherItem"
></app-fido2-cipher-row>
@@ -108,7 +108,7 @@
<app-fido2-cipher-row
*ngFor="let cipherItem of displayedCiphers"
[cipher]="cipherItem"
title="{{ 'fido2Item' | i18n }}"
title="{{ 'passkeyItem' | i18n }}"
(onSelected)="selectedPasskey($event)"
[isSelected]="cipher === cipherItem"
></app-fido2-cipher-row>
@@ -131,9 +131,9 @@
</ng-container>
</ng-container>
<div class="useBrowserlink">
<a [routerLink]="[]" *ngIf="data.fallbackSupported" (click)="abort(true)">
<button *ngIf="data.fallbackSupported" appStopClick type="button" (click)="abort(true)">
{{ "useBrowserName" | i18n }}
</a>
</button>
</div>
</div>
</ng-container>