aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video-playlist
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/shared/video-playlist
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/shared/video-playlist')
-rw-r--r--client/src/app/shared/video-playlist/video-add-to-playlist.component.html4
-rw-r--r--client/src/app/shared/video-playlist/video-playlist-element-miniature.component.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/video-playlist/video-add-to-playlist.component.html b/client/src/app/shared/video-playlist/video-add-to-playlist.component.html
index 58108584b..a40e0699e 100644
--- a/client/src/app/shared/video-playlist/video-add-to-playlist.component.html
+++ b/client/src/app/shared/video-playlist/video-add-to-playlist.component.html
@@ -4,7 +4,7 @@
4 <div i18n class="title">Save to</div> 4 <div i18n class="title">Save to</div>
5 5
6 <div class="options" (click)="displayOptions = !displayOptions"> 6 <div class="options" (click)="displayOptions = !displayOptions">
7 <my-global-icon iconName="cog"></my-global-icon> 7 <my-global-icon iconName="cog" aria-hidden="true"></my-global-icon>
8 8
9 <span i18n>Options</span> 9 <span i18n>Options</span>
10 </div> 10 </div>
@@ -60,7 +60,7 @@
60 </div> 60 </div>
61 61
62 <div class="new-playlist-button dropdown-item" (click)="openCreateBlock($event)" [hidden]="isNewPlaylistBlockOpened"> 62 <div class="new-playlist-button dropdown-item" (click)="openCreateBlock($event)" [hidden]="isNewPlaylistBlockOpened">
63 <my-global-icon iconName="add"></my-global-icon> 63 <my-global-icon iconName="add" aria-hidden="true"></my-global-icon>
64 64
65 <span i18n>Create a private playlist</span> 65 <span i18n>Create a private playlist</span>
66 </div> 66 </div>
diff --git a/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.html b/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.html
index c956e6cd2..e3f7ef017 100644
--- a/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.html
+++ b/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.html
@@ -46,7 +46,7 @@
46 <div ngbDropdownMenu> 46 <div ngbDropdownMenu>
47 <ng-container *ngIf="playlistElement.video"> 47 <ng-container *ngIf="playlistElement.video">
48 <div class="dropdown-item" (click)="toggleDisplayTimestampsOptions($event, playlistElement)"> 48 <div class="dropdown-item" (click)="toggleDisplayTimestampsOptions($event, playlistElement)">
49 <my-global-icon iconName="edit"></my-global-icon> 49 <my-global-icon iconName="edit" aria-hidden="true"></my-global-icon>
50 <ng-container i18n>Edit starts/stops at</ng-container> 50 <ng-container i18n>Edit starts/stops at</ng-container>
51 </div> 51 </div>
52 52
@@ -84,7 +84,7 @@
84 </ng-container> 84 </ng-container>
85 85
86 <span class="dropdown-item" (click)="removeFromPlaylist(playlistElement)"> 86 <span class="dropdown-item" (click)="removeFromPlaylist(playlistElement)">
87 <my-global-icon iconName="delete"></my-global-icon> 87 <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon>
88 <ng-container i18n>Delete from {{ playlist?.displayName }}</ng-container> 88 <ng-container i18n>Delete from {{ playlist?.displayName }}</ng-container>
89 </span> 89 </span>
90 </div> 90 </div>