Skip to content

Commit fe30cc6

Browse files
authored
fix: Remove "show password" button from tabbing index (#47)
Currently, the button interferes the logical tabbing order. `tabindex="-1"` removes it from the tabbing index in most browsers.
1 parent 95fdfac commit fe30cc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/PasswordStrengthMeter.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
type="button"
3131
class="btn-clean"
3232
:aria-label="showPasswordLabel"
33+
tabindex="-1"
3334
@click.prevent="togglePassword()">
3435
<svg v-if="this.$data._showPassword" version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
3536
<title>{{showPasswordLabel}}</title>

0 commit comments

Comments
 (0)