Skip to content

Commit

Permalink
fix: Remove "show password" button from tabbing index (#47)
Browse files Browse the repository at this point in the history
Currently, the button interferes the logical tabbing order. `tabindex="-1"` removes it from the tabbing index in most browsers.
  • Loading branch information
aarongerig authored Mar 24, 2020
1 parent 95fdfac commit fe30cc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/PasswordStrengthMeter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
type="button"
class="btn-clean"
:aria-label="showPasswordLabel"
tabindex="-1"
@click.prevent="togglePassword()">
<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">
<title>{{showPasswordLabel}}</title>
Expand Down

0 comments on commit fe30cc6

Please sign in to comment.