Skip to content

Commit 9bb5507

Browse files
authored
Merge pull request #856 from andrebk/fix-password-taborder
Fix tab order for password change form
2 parents bf49e74 + 0504c78 commit 9bb5507

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/templates/users/account.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ <h2 class="text-xl font-semibold">Change Password</h2>
108108
:type="showCurrentPassword ? 'text' : 'password'"
109109
value="">
110110
<button type="button"
111+
tabindex="-1"
111112
@click="showCurrentPassword = !showCurrentPassword"
112113
class="absolute inset-y-0 right-0 px-3 flex items-center text-gray-400 hover:text-white cursor-pointer">
113114
<!-- Show when password is hidden -->
@@ -159,6 +160,7 @@ <h2 class="text-xl font-semibold">Change Password</h2>
159160
:type="showNewPassword ? 'text' : 'password'"
160161
value="">
161162
<button type="button"
163+
tabindex="-1"
162164
@click="showNewPassword = !showNewPassword"
163165
class="absolute inset-y-0 right-0 px-3 flex items-center text-gray-400 hover:text-white cursor-pointer">
164166
<!-- Show when password is hidden -->
@@ -210,6 +212,7 @@ <h2 class="text-xl font-semibold">Change Password</h2>
210212
:type="showConfirmPassword ? 'text' : 'password'"
211213
value="">
212214
<button type="button"
215+
tabindex="-1"
213216
@click="showConfirmPassword = !showConfirmPassword"
214217
class="absolute inset-y-0 right-0 px-3 flex items-center text-gray-400 hover:text-white cursor-pointer">
215218
<!-- Show when password is hidden -->

0 commit comments

Comments
 (0)