diff options
author | Caroline Chuong <caroline.chuong@octo.com> | 2020-06-08 19:42:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 19:42:51 +0200 |
commit | 6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12 (patch) | |
tree | 15cd22d1e2de6166cbf5de0501ae1692d6deb4c2 /client/src/app/videos/+video-edit | |
parent | c2caa99b942dea7fa9d2856f53efd1316169658e (diff) | |
download | PeerTube-6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12.tar.gz PeerTube-6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12.tar.zst PeerTube-6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12.zip |
add aria-hidden to non-descriptive icons (#2844)
Diffstat (limited to 'client/src/app/videos/+video-edit')
5 files changed, 5 insertions, 5 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.html b/client/src/app/videos/+video-edit/shared/video-edit.component.html index 9a0e4f848..c11a60dce 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.html | |||
@@ -167,7 +167,7 @@ | |||
167 | 167 | ||
168 | <div class="captions-header"> | 168 | <div class="captions-header"> |
169 | <a (click)="openAddCaptionModal()" class="create-caption"> | 169 | <a (click)="openAddCaptionModal()" class="create-caption"> |
170 | <my-global-icon iconName="add"></my-global-icon> | 170 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
171 | <ng-container i18n>Add another caption</ng-container> | 171 | <ng-container i18n>Add another caption</ng-container> |
172 | </a> | 172 | </a> |
173 | </div> | 173 | </div> |
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html b/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html index c2ee3ad57..89948dac8 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html +++ b/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html | |||
@@ -69,7 +69,7 @@ | |||
69 | (click)="updateSecondStep()" | 69 | (click)="updateSecondStep()" |
70 | [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }" | 70 | [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }" |
71 | > | 71 | > |
72 | <my-global-icon iconName="validate"></my-global-icon> | 72 | <my-global-icon iconName="validate" aria-hidden="true"></my-global-icon> |
73 | <input type="button" i18n-value value="Update" /> | 73 | <input type="button" i18n-value value="Update" /> |
74 | </div> | 74 | </div> |
75 | </div> | 75 | </div> |
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.html b/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.html index 9a26fe308..54bbe8123 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.html +++ b/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.html | |||
@@ -65,7 +65,7 @@ | |||
65 | (click)="updateSecondStep()" | 65 | (click)="updateSecondStep()" |
66 | [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }" | 66 | [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }" |
67 | > | 67 | > |
68 | <my-global-icon iconName="validate"></my-global-icon> | 68 | <my-global-icon iconName="validate" aria-hidden="true"></my-global-icon> |
69 | <input type="button" i18n-value value="Update" /> | 69 | <input type="button" i18n-value value="Update" /> |
70 | </div> | 70 | </div> |
71 | </div> | 71 | </div> |
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html index 950e55a52..a2c8af2ae 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html +++ b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html | |||
@@ -83,7 +83,7 @@ | |||
83 | (click)="updateSecondStep()" | 83 | (click)="updateSecondStep()" |
84 | [ngClass]="{ disabled: isPublishingButtonDisabled() }" | 84 | [ngClass]="{ disabled: isPublishingButtonDisabled() }" |
85 | > | 85 | > |
86 | <my-global-icon iconName="validate"></my-global-icon> | 86 | <my-global-icon iconName="validate" aria-hidden="true"></my-global-icon> |
87 | <input [disabled]="isPublishingButtonDisabled()" type="button" i18n-value value="Publish" /> | 87 | <input [disabled]="isPublishingButtonDisabled()" type="button" i18n-value value="Publish" /> |
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
diff --git a/client/src/app/videos/+video-edit/video-update.component.html b/client/src/app/videos/+video-edit/video-update.component.html index e68c14010..fbc642db9 100644 --- a/client/src/app/videos/+video-edit/video-update.component.html +++ b/client/src/app/videos/+video-edit/video-update.component.html | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | <div class="submit-container"> | 15 | <div class="submit-container"> |
16 | <div class="submit-button" (click)="update()" [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }"> | 16 | <div class="submit-button" (click)="update()" [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }"> |
17 | <my-global-icon iconName="validate"></my-global-icon> | 17 | <my-global-icon iconName="validate" aria-hidden="true"></my-global-icon> |
18 | <input type="button" i18n-value value="Update" /> | 18 | <input type="button" i18n-value value="Update" /> |
19 | </div> | 19 | </div> |
20 | </div> | 20 | </div> |