Skip to content

Commit

Permalink
Add title as alt for timeline imgs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian committed Jan 14, 2022
1 parent 65d3577 commit 5c5737e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/page_list/worldskills_timeline.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</span>
<?php else: ?>
<a class="ws-timeline-thumb" href="<?=$url?>">
<img src="<?=$thumbnail?>" alt="" />
<img src="<?=$thumbnail?>" alt="<?php echo h($title); ?>" />
</a>
<?php endif; ?>
<?php endif; ?>
Expand Down

0 comments on commit 5c5737e

Please sign in to comment.