Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Prevent password show/hide icon from receiving focus
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac committed Nov 16, 2020
1 parent 26b0734 commit 85bc008
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<button mat-icon-button (click)="show = !show" [attr.aria-label]="'Hide password'" [attr.aria-pressed]="!show"
<button tabindex="-1" mat-icon-button (click)="show = !show" [attr.aria-label]="'Hide password'" [attr.aria-pressed]="!show"
type="button">
<mat-icon>{{!show ? 'visibility_off' : 'visibility'}}</mat-icon>
</button>

0 comments on commit 85bc008

Please sign in to comment.