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/+my-account | |
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/+my-account')
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html index 5492cdf22..76886c73e 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | <div class="form-group"> | 25 | <div class="form-group"> |
26 | <input | 26 | <input |
27 | type="password" id="password" i18n-placeholder placeholder="Your password" | 27 | type="password" id="password" i18n-placeholder placeholder="Your password" autocomplete="off" |
28 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" | 28 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" |
29 | > | 29 | > |
30 | <div *ngIf="formErrors['password']" class="form-error"> | 30 | <div *ngIf="formErrors['password']" class="form-error"> |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html index a39061ee3..cec70c6b5 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | <label i18n for="current-password">Change password</label> | 5 | <label i18n for="current-password">Change password</label> |
6 | <input | 6 | <input |
7 | type="password" id="current-password" i18n-placeholder placeholder="Current password" | 7 | type="password" id="current-password" i18n-placeholder placeholder="Current password" autocomplete="current-password" |
8 | formControlName="current-password" [ngClass]="{ 'input-error': formErrors['current-password'] }" | 8 | formControlName="current-password" [ngClass]="{ 'input-error': formErrors['current-password'] }" |
9 | > | 9 | > |
10 | <div *ngIf="formErrors['current-password']" class="form-error"> | 10 | <div *ngIf="formErrors['current-password']" class="form-error"> |
@@ -12,7 +12,7 @@ | |||
12 | </div> | 12 | </div> |
13 | 13 | ||
14 | <input | 14 | <input |
15 | type="password" id="new-password" i18n-placeholder placeholder="New password" | 15 | type="password" id="new-password" i18n-placeholder placeholder="New password" autocomplete="new-password" |
16 | formControlName="new-password" [ngClass]="{ 'input-error': formErrors['new-password'] }" | 16 | formControlName="new-password" [ngClass]="{ 'input-error': formErrors['new-password'] }" |
17 | > | 17 | > |
18 | <div *ngIf="formErrors['new-password']" class="form-error"> | 18 | <div *ngIf="formErrors['new-password']" class="form-error"> |
@@ -20,7 +20,7 @@ | |||
20 | </div> | 20 | </div> |
21 | 21 | ||
22 | <input | 22 | <input |
23 | type="password" id="new-confirmed-password" i18n-placeholder placeholder="Confirm new password" | 23 | type="password" id="new-confirmed-password" i18n-placeholder placeholder="Confirm new password" autocomplete="new-password" |
24 | formControlName="new-confirmed-password" | 24 | formControlName="new-confirmed-password" |
25 | > | 25 | > |
26 | <div *ngIf="formErrors['new-confirmed-password']" class="form-error"> | 26 | <div *ngIf="formErrors['new-confirmed-password']" class="form-error"> |