aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
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/+videos
parent2b6c55528d252be180a9b206b9de01c44e67b24f (diff)
downloadPeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.gz
PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.zst
PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.zip
Fix some accessibility issues
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-edit/shared/video-edit.component.html4
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html5
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html5
3 files changed, 10 insertions, 4 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 d75f37074..9c2aea526 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
@@ -216,12 +216,12 @@
216 216
217 <div class="form-group"> 217 <div class="form-group">
218 <label for="liveVideoRTMPUrl" i18n>Live RTMP Url</label> 218 <label for="liveVideoRTMPUrl" i18n>Live RTMP Url</label>
219 <my-input-toggle-hidden id="liveVideoRTMPUrl" [value]="liveVideo.rtmpUrl" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden> 219 <my-input-toggle-hidden inputId="liveVideoRTMPUrl" [value]="liveVideo.rtmpUrl" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden>
220 </div> 220 </div>
221 221
222 <div class="form-group"> 222 <div class="form-group">
223 <label for="liveVideoStreamKey" i18n>Live stream key</label> 223 <label for="liveVideoStreamKey" i18n>Live stream key</label>
224 <my-input-toggle-hidden id="liveVideoStreamKey" [value]="liveVideo.streamKey" [withCopy]="true" [readonly]="true"></my-input-toggle-hidden> 224 <my-input-toggle-hidden inputId="liveVideoStreamKey" [value]="liveVideo.streamKey" [withCopy]="true" [readonly]="true"></my-input-toggle-hidden>
225 225
226 <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div> 226 <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div>
227 </div> 227 </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 785514c76..211acc6f6 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
@@ -4,7 +4,10 @@
4 4
5 <div class="button-file form-control" [ngbTooltip]="'(extensions: .torrent)'"> 5 <div class="button-file form-control" [ngbTooltip]="'(extensions: .torrent)'">
6 <span i18n>Select the torrent to import</span> 6 <span i18n>Select the torrent to import</span>
7 <input #torrentfileInput type="file" name="torrentfile" id="torrentfile" accept=".torrent" (change)="fileChange()" /> 7 <input
8 aria-label="Select the torrent to import" i18n-aria-label
9 #torrentfileInput type="file" name="torrentfile" id="torrentfile" accept=".torrent" (change)="fileChange()"
10 />
8 </div> 11 </div>
9 12
10 <div class="torrent-or-magnet" i18n-data-content data-content="OR"></div> 13 <div class="torrent-or-magnet" i18n-data-content data-content="OR"></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 88ee4e32a..51e16150e 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
@@ -4,7 +4,10 @@
4 4
5 <div class="button-file form-control" [ngbTooltip]="'(extensions: ' + videoExtensions + ')'"> 5 <div class="button-file form-control" [ngbTooltip]="'(extensions: ' + videoExtensions + ')'">
6 <span i18n>Select the file to upload</span> 6 <span i18n>Select the file to upload</span>
7 <input #videofileInput type="file" name="videofile" id="videofile" [accept]="videoExtensions" (change)="fileChange()" autofocus /> 7 <input
8 aria-label="Select the file to upload" i18n-aria-label
9 #videofileInput type="file" name="videofile" id="videofile" [accept]="videoExtensions" (change)="fileChange()" autofocus
10 />
8 </div> 11 </div>
9 12
10 <div class="form-group form-group-channel"> 13 <div class="form-group form-group-channel">