mirror of https://github.com/Chocobozzz/PeerTube
Add aria-labelledby to video thumbnails
parent
9484e1f6fc
commit
c487d3033c
|
@ -2,7 +2,7 @@
|
||||||
[routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name"
|
[routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name"
|
||||||
class="video-thumbnail"
|
class="video-thumbnail"
|
||||||
>
|
>
|
||||||
<img alt="" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />
|
<img alt="" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />
|
||||||
|
|
||||||
<div class="video-thumbnail-overlay">
|
<div class="video-thumbnail-overlay">
|
||||||
{{ video.durationLabel }}
|
{{ video.durationLabel }}
|
||||||
|
|
Loading…
Reference in New Issue