aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorCaroline Chuong <caroline.chuong@octo.com>2020-06-08 19:42:51 +0200
committerGitHub <noreply@github.com>2020-06-08 19:42:51 +0200
commit6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12 (patch)
tree15cd22d1e2de6166cbf5de0501ae1692d6deb4c2 /client/src/app/videos
parentc2caa99b942dea7fa9d2856f53efd1316169658e (diff)
downloadPeerTube-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')
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.html2
-rw-r--r--client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html2
-rw-r--r--client/src/app/videos/+video-edit/video-add-components/video-import-url.component.html2
-rw-r--r--client/src/app/videos/+video-edit/video-add-components/video-upload.component.html2
-rw-r--r--client/src/app/videos/+video-edit/video-update.component.html2
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html4
6 files changed, 7 insertions, 7 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>
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index 0244860dd..433543a7b 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -88,7 +88,7 @@
88 </div> 88 </div>
89 89
90 <div (click)="showShareModal()" class="action-button" role="button"> 90 <div (click)="showShareModal()" class="action-button" role="button">
91 <my-global-icon iconName="share"></my-global-icon> 91 <my-global-icon iconName="share" aria-hidden="true"></my-global-icon>
92 <span class="icon-text" i18n>SHARE</span> 92 <span class="icon-text" i18n>SHARE</span>
93 </div> 93 </div>
94 94
@@ -99,7 +99,7 @@
99 placement="bottom auto" 99 placement="bottom auto"
100 > 100 >
101 <div class="action-button action-button-save" ngbDropdownToggle role="button"> 101 <div class="action-button action-button-save" ngbDropdownToggle role="button">
102 <my-global-icon iconName="playlist-add"></my-global-icon> 102 <my-global-icon iconName="playlist-add" aria-hidden="true"></my-global-icon>
103 <span class="icon-text" i18n>SAVE</span> 103 <span class="icon-text" i18n>SAVE</span>
104 </div> 104 </div>
105 105