diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-01-10 19:50:48 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-01-21 10:08:10 +0100 |
commit | 7738273b808f0ff1494f18c4cc13553505e6ac6d (patch) | |
tree | e751a2282ffb9d5f1f4e556ca865e06ed4426710 /client/src/app/reset-password | |
parent | aa0f19635ae4632e286de1599fc24f95f32a108c (diff) | |
download | PeerTube-7738273b808f0ff1494f18c4cc13553505e6ac6d.tar.gz PeerTube-7738273b808f0ff1494f18c4cc13553505e6ac6d.tar.zst PeerTube-7738273b808f0ff1494f18c4cc13553505e6ac6d.zip |
Accessibility fixes for #2149
Diffstat (limited to 'client/src/app/reset-password')
-rw-r--r-- | client/src/app/reset-password/reset-password.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/reset-password/reset-password.component.html b/client/src/app/reset-password/reset-password.component.html index 8398be091..af30af4a0 100644 --- a/client/src/app/reset-password/reset-password.component.html +++ b/client/src/app/reset-password/reset-password.component.html | |||
@@ -7,7 +7,7 @@ | |||
7 | <div class="form-group"> | 7 | <div class="form-group"> |
8 | <label i18n for="password">Password</label> | 8 | <label i18n for="password">Password</label> |
9 | <input | 9 | <input |
10 | type="password" name="password" id="password" i18n-placeholder placeholder="Password" required | 10 | type="password" name="password" id="password" i18n-placeholder placeholder="Password" required autocomplete="new-password" |
11 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" | 11 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" |
12 | > | 12 | > |
13 | <div *ngIf="formErrors.password" class="form-error"> | 13 | <div *ngIf="formErrors.password" class="form-error"> |
@@ -18,7 +18,7 @@ | |||
18 | <div class="form-group"> | 18 | <div class="form-group"> |
19 | <label i18n for="password-confirm">Confirm password</label> | 19 | <label i18n for="password-confirm">Confirm password</label> |
20 | <input | 20 | <input |
21 | type="password" name="password-confirm" id="password-confirm" i18n-placeholder placeholder="Confirmed password" required | 21 | type="password" name="password-confirm" id="password-confirm" i18n-placeholder placeholder="Confirmed password" required autocomplete="new-password" |
22 | formControlName="password-confirm" [ngClass]="{ 'input-error': formErrors['password-confirm'] }" | 22 | formControlName="password-confirm" [ngClass]="{ 'input-error': formErrors['password-confirm'] }" |
23 | > | 23 | > |
24 | <div *ngIf="formErrors['password-confirm']" class="form-error"> | 24 | <div *ngIf="formErrors['password-confirm']" class="form-error"> |