acessibility — passing empty alt to highlighted-publication__cover

This commit is contained in:
Antoine M 2024-05-15 12:23:03 +02:00
parent 7cf13a29e4
commit 69e0a26654

View File

@ -224,7 +224,7 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
<a class="cta cta--secondary cta--button" href="<?php echo $highlightedDocumentDatas['document']['url'] ?>" target="_blank"><?php echo __("Consulter le PDF", "homegrade-theme__texte-fonctionnel__archive-publications") ?></a>
<?php endif; ?>
</div>
<img class="highlighted-publication__cover" src='<?php echo get_template_directory_uri() . '/resources/img/illustrations/homegrade_brochure-impression.svg' ?>' />
<img class="highlighted-publication__cover" src='<?php echo get_template_directory_uri() . '/resources/img/illustrations/homegrade_brochure-impression.svg' ?>' alt="" />
<?php endif; ?>