Skip to content

Commit

Permalink
Add title as alt for news imgs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian committed Jan 14, 2022
1 parent 5c5737e commit d4337a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/page_list/templates/worldskills_news_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
}
}
?>
<img class="ws-linklist-thumb" src="<?php echo $src ?>" alt="">
<img class="ws-linklist-thumb" src="<?php echo $src ?>" alt="<?php echo h($title); ?>">
<?php endif; ?>
<div class="ws-linklist-body">
<h2 class="ws-linklist-title">
Expand Down

0 comments on commit d4337a7

Please sign in to comment.