aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-31 14:25:02 +0200
committerChocobozzz <me@florianbigard.com>2018-07-31 14:25:02 +0200
commitc487d3033cad9c5e0f85ae49ed3d2a7b6c2711d8 (patch)
tree74b8c785e7fe60a0939e32772f0a6908a33d018d /client/src/app
parent9484e1f6fcc9cbc118b01579acd1fd6d49bfce2e (diff)
downloadPeerTube-c487d3033cad9c5e0f85ae49ed3d2a7b6c2711d8.tar.gz
PeerTube-c487d3033cad9c5e0f85ae49ed3d2a7b6c2711d8.tar.zst
PeerTube-c487d3033cad9c5e0f85ae49ed3d2a7b6c2711d8.zip
Add aria-labelledby to video thumbnails
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/shared/video/video-thumbnail.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video-thumbnail.component.html b/client/src/app/shared/video/video-thumbnail.component.html
index 4909cf3f1..c1d45ea18 100644
--- a/client/src/app/shared/video/video-thumbnail.component.html
+++ b/client/src/app/shared/video/video-thumbnail.component.html
@@ -2,7 +2,7 @@
2 [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name" 2 [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name"
3 class="video-thumbnail" 3 class="video-thumbnail"
4> 4>
5<img alt="" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" /> 5<img alt="" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />
6 6
7<div class="video-thumbnail-overlay"> 7<div class="video-thumbnail-overlay">
8 {{ video.durationLabel }} 8 {{ video.durationLabel }}