aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-22 12:05:32 +0100
committerChocobozzz <me@florianbigard.com>2020-12-22 12:05:32 +0100
commit1916c9663ac632227e60ebc93cec616b2dd6800d (patch)
tree606b753ed93aeec5d4232925c55642bd8d43c000 /client/src/app/+my-account
parent2b6c55528d252be180a9b206b9de01c44e67b24f (diff)
downloadPeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.gz
PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.zst
PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.zip
Fix some accessibility issues
Diffstat (limited to 'client/src/app/+my-account')
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html6
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss3
2 files changed, 4 insertions, 5 deletions
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 f1127b6a1..43facb7ed 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 <my-input-toggle-hidden formControlName="current-password" 6 <my-input-toggle-hidden formControlName="current-password"
7 id="current-password" 7 inputId="current-password"
8 i18n-placeholder placeholder="Current password" 8 i18n-placeholder placeholder="Current password"
9 [ngClass]="{ 'input-error': formErrors['current-password'] }" 9 [ngClass]="{ 'input-error': formErrors['current-password'] }"
10 autocomplete="current-password"></my-input-toggle-hidden> 10 autocomplete="current-password"></my-input-toggle-hidden>
@@ -13,7 +13,7 @@
13 </div> 13 </div>
14 14
15 <my-input-toggle-hidden formControlName="new-password" 15 <my-input-toggle-hidden formControlName="new-password"
16 id="new-password" 16 inputId="new-password"
17 i18n-placeholder placeholder="New password" 17 i18n-placeholder placeholder="New password"
18 [ngClass]="{ 'input-error': formErrors['new-password'] }" 18 [ngClass]="{ 'input-error': formErrors['new-password'] }"
19 autocomplete="new-password"></my-input-toggle-hidden> 19 autocomplete="new-password"></my-input-toggle-hidden>
@@ -22,7 +22,7 @@
22 </div> 22 </div>
23 23
24 <my-input-toggle-hidden formControlName="new-confirmed-password" 24 <my-input-toggle-hidden formControlName="new-confirmed-password"
25 id="new-confirmed-password" 25 inputId="new-confirmed-password"
26 i18n-placeholder placeholder="Confirm new password" 26 i18n-placeholder placeholder="Confirm new password"
27 [ngClass]="{ 'input-error': formErrors['new-confirmed-password'] }" 27 [ngClass]="{ 'input-error': formErrors['new-confirmed-password'] }"
28 autocomplete="new-password"></my-input-toggle-hidden> 28 autocomplete="new-password"></my-input-toggle-hidden>
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss
index 0d1f3094a..4e3fda587 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss
+++ b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss
@@ -11,8 +11,7 @@ my-input-toggle-hidden {
11 display: block; 11 display: block;
12} 12}
13 13
14#new-password, 14my-input-toggle-hidden + my-input-toggle-hidden {
15#new-confirmed-password {
16 margin-top: 15px; 15 margin-top: 15px;
17} 16}
18 17