Skip to content

Commit

Permalink
Fix login tabindex
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Sep 27, 2024
1 parent ef9aecc commit ee3e69f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/app/+login/login.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h5 class="alert-heading" i18n>
<div>
<label i18n for="username">Username or email address</label>
<input
type="text" id="username" i18n-placeholder placeholder="Example: [email protected]" required tabindex="1"
type="text" id="username" i18n-placeholder placeholder="Example: [email protected]" required
formControlName="username" class="form-control" [ngClass]="{ 'input-error': formErrors['username'] }" myAutofocus
autocomplete="username"
>
Expand All @@ -70,7 +70,7 @@ <h5 class="alert-heading" i18n>

<my-input-text
formControlName="password" inputId="password" i18n-placeholder placeholder="Password"
[formError]="formErrors['password']" autocomplete="current-password" [tabindex]="2"
[formError]="formErrors['password']" autocomplete="current-password"
></my-input-text>
</div>
</ng-container>
Expand Down

0 comments on commit ee3e69f

Please sign in to comment.