Skip to content

Commit

Permalink
add tabindex= -1 onto PasswordWithReveal buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobSussan committed Apr 26, 2024
1 parent aac3d96 commit 687a9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/PasswordWithReveal.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static function getTemplate($options)
<div class="{fieldClass}">
<div class="input-group mb-3">
{field}
<button type="button" class="{$toggleSelector}-{id} {$toggleClasses}">{$toggle}</button>
<button tabindex="-1" type="button" class="{$toggleSelector}-{id} {$toggleClasses}">{$toggle}</button>
</div>
{errors}
</div>
Expand Down

0 comments on commit 687a9d0

Please sign in to comment.