Skip to content

Commit

Permalink
changed link to button for accessibilty purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
gbubemismith committed Oct 13, 2023
1 parent cabd855 commit 35e9193
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -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>
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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>

0 comments on commit 35e9193

Please sign in to comment.