aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
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/+admin
parent2b6c55528d252be180a9b206b9de01c44e67b24f (diff)
downloadPeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.gz
PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.zst
PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.zip
Fix some accessibility issues
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html4
-rw-r--r--client/src/app/+admin/users/user-edit/user-edit.component.html2
-rw-r--r--client/src/app/+admin/users/user-list/user-list.component.html4
3 files changed, 5 insertions, 5 deletions
diff --git a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
index 8c68b0abf..fa4a8edfd 100644
--- a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
+++ b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
@@ -52,7 +52,7 @@
52 <ng-template pTemplate="header"> 52 <ng-template pTemplate="header">
53 <tr> 53 <tr>
54 <th style="width: 40px"> 54 <th style="width: 40px">
55 <p-tableHeaderCheckbox></p-tableHeaderCheckbox> 55 <p-tableHeaderCheckbox ariaLabel="Select all rows" i18n-ariaLabel></p-tableHeaderCheckbox>
56 </th> 56 </th>
57 <th style="width: 40px"></th> 57 <th style="width: 40px"></th>
58 <th style="width: 150px;"></th> 58 <th style="width: 150px;"></th>
@@ -67,7 +67,7 @@
67 <tr [pSelectableRow]="videoComment"> 67 <tr [pSelectableRow]="videoComment">
68 68
69 <td class="checkbox-cell"> 69 <td class="checkbox-cell">
70 <p-tableCheckbox [value]="videoComment"></p-tableCheckbox> 70 <p-tableCheckbox [value]="videoComment" ariaLabel="Select this row" i18n-ariaLabel></p-tableCheckbox>
71 </td> 71 </td>
72 72
73 <td class="expand-cell c-hand" [pRowToggler]="videoComment" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body"> 73 <td class="expand-cell c-hand" [pRowToggler]="videoComment" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body">
diff --git a/client/src/app/+admin/users/user-edit/user-edit.component.html b/client/src/app/+admin/users/user-edit/user-edit.component.html
index e1260c123..78c92227f 100644
--- a/client/src/app/+admin/users/user-edit/user-edit.component.html
+++ b/client/src/app/+admin/users/user-edit/user-edit.component.html
@@ -124,7 +124,7 @@
124 </my-help> 124 </my-help>
125 125
126 <my-input-toggle-hidden 126 <my-input-toggle-hidden
127 formControlName="password" id="password" [ngClass]="{ 'input-error': formErrors['password'] }" autocomplete="new-password" 127 formControlName="password" inputId="password" [ngClass]="{ 'input-error': formErrors['password'] }" autocomplete="new-password"
128 ></my-input-toggle-hidden> 128 ></my-input-toggle-hidden>
129 129
130 <div *ngIf="formErrors.password" class="form-error"> 130 <div *ngIf="formErrors.password" class="form-error">
diff --git a/client/src/app/+admin/users/user-list/user-list.component.html b/client/src/app/+admin/users/user-list/user-list.component.html
index 38445cee7..b02faef5d 100644
--- a/client/src/app/+admin/users/user-list/user-list.component.html
+++ b/client/src/app/+admin/users/user-list/user-list.component.html
@@ -47,7 +47,7 @@
47 <ng-template pTemplate="header"> 47 <ng-template pTemplate="header">
48 <tr> 48 <tr>
49 <th style="width: 40px"> 49 <th style="width: 40px">
50 <p-tableHeaderCheckbox></p-tableHeaderCheckbox> 50 <p-tableHeaderCheckbox ariaLabel="Select all rows" i18n-ariaLabel></p-tableHeaderCheckbox>
51 </th> 51 </th>
52 <th style="width: 40px"></th> 52 <th style="width: 40px"></th>
53 <th style="width: 60px;"> 53 <th style="width: 60px;">
@@ -87,7 +87,7 @@
87 87
88 <tr [pSelectableRow]="user" [ngClass]="{ banned: highlightBannedUsers && user.blocked }"> 88 <tr [pSelectableRow]="user" [ngClass]="{ banned: highlightBannedUsers && user.blocked }">
89 <td class="checkbox-cell"> 89 <td class="checkbox-cell">
90 <p-tableCheckbox [value]="user"></p-tableCheckbox> 90 <p-tableCheckbox [value]="user" ariaLabel="Select this row" i18n-ariaLabel></p-tableCheckbox>
91 </td> 91 </td>
92 92
93 <td class="expand-cell"> 93 <td class="expand-cell">