diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-22 12:05:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-22 12:05:32 +0100 |
commit | 1916c9663ac632227e60ebc93cec616b2dd6800d (patch) | |
tree | 606b753ed93aeec5d4232925c55642bd8d43c000 /client/src/app/+videos/+video-edit/video-add-components | |
parent | 2b6c55528d252be180a9b206b9de01c44e67b24f (diff) | |
download | PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.gz PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.zst PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.zip |
Fix some accessibility issues
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html | 5 | ||||
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html | 5 |
2 files changed, 8 insertions, 2 deletions
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"> |