diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-22 12:05:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-22 12:05:32 +0100 |
commit | 1916c9663ac632227e60ebc93cec616b2dd6800d (patch) | |
tree | 606b753ed93aeec5d4232925c55642bd8d43c000 /client/src/app/+login | |
parent | 2b6c55528d252be180a9b206b9de01c44e67b24f (diff) | |
download | PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.gz PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.zst PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.zip |
Fix some accessibility issues
Diffstat (limited to 'client/src/app/+login')
-rw-r--r-- | client/src/app/+login/login.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+login/login.component.html b/client/src/app/+login/login.component.html index e0be3b415..f4bb6215b 100644 --- a/client/src/app/+login/login.component.html +++ b/client/src/app/+login/login.component.html | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | <div class="form-group"> | 33 | <div class="form-group"> |
34 | <label i18n for="password">Password</label> | 34 | <label i18n for="password">Password</label> |
35 | <my-input-toggle-hidden formControlName="password" id="password" | 35 | <my-input-toggle-hidden formControlName="password" inputId="password" |
36 | i18n-placeholder placeholder="Password" | 36 | i18n-placeholder placeholder="Password" |
37 | [ngClass]="{ 'input-error': formErrors['password'] }" | 37 | [ngClass]="{ 'input-error': formErrors['password'] }" |
38 | autocomplete="current-password" [tabindex]="2"></my-input-toggle-hidden> | 38 | autocomplete="current-password" [tabindex]="2"></my-input-toggle-hidden> |
@@ -42,7 +42,7 @@ | |||
42 | </div> | 42 | </div> |
43 | 43 | ||
44 | <input type="submit" i18n-value value="Login" [disabled]="!form.valid"> | 44 | <input type="submit" i18n-value value="Login" [disabled]="!form.valid"> |
45 | 45 | ||
46 | <div class="additionnal-links"> | 46 | <div class="additionnal-links"> |
47 | <a class="forgot-password-button" (click)="openForgotPasswordModal()" i18n-title title="Click here to reset your password">I forgot my password</a> | 47 | <a class="forgot-password-button" (click)="openForgotPasswordModal()" i18n-title title="Click here to reset your password">I forgot my password</a> |
48 | <div *ngIf="signupAllowed" class="signup-link"> | 48 | <div *ngIf="signupAllowed" class="signup-link"> |