extra space to sr-only
This commit is contained in:
parent
21f720e20e
commit
6be38b9367
|
|
@ -31,7 +31,7 @@ $relatedPostConseil = $relatedThematiqueConseilsQuery->posts[0] ?? null;
|
||||||
|
|
||||||
<a class="card-thematique__cta hover:text-<?php echo getThematiqueFamilySlug($thematique->slug) ?>" href="<?php echo get_permalink($relatedPostConseil->ID) ?>">
|
<a class="card-thematique__cta hover:text-<?php echo getThematiqueFamilySlug($thematique->slug) ?>" href="<?php echo get_permalink($relatedPostConseil->ID) ?>">
|
||||||
<?php echo __("En savoir plus ", "homegrade-theme__texte-fonctionnel") ?>
|
<?php echo __("En savoir plus ", "homegrade-theme__texte-fonctionnel") ?>
|
||||||
<span class="sr-only"><?php echo __("sur ", "homegrade-theme__texte-fonctionnel") ?><?php echo $thematique->name ?></span>
|
<span class="sr-only"> <?php echo __("sur ", "homegrade-theme__texte-fonctionnel") ?><?php echo $thematique->name ?></span>
|
||||||
<div class="cta_arrow_button">
|
<div class="cta_arrow_button">
|
||||||
<img src='<?php echo get_template_directory_uri() ?>/resources/img/graphic-assets/arrow-right-circle.svg' alt=''>
|
<img src='<?php echo get_template_directory_uri() ?>/resources/img/graphic-assets/arrow-right-circle.svg' alt=''>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ $mainThematique = getMainThematique($thematique) ?? null;
|
||||||
<a href=" <?php echo get_the_permalink($post_ID) ?>" class="cta cta--read-more cta--with-arrow-button cta--streched ">
|
<a href=" <?php echo get_the_permalink($post_ID) ?>" class="cta cta--read-more cta--with-arrow-button cta--streched ">
|
||||||
<!-- cta-read-more -->
|
<!-- cta-read-more -->
|
||||||
<span><?php echo __("Lire l'article", 'homegrade-theme__texte-fonctionnel') ?></span>
|
<span><?php echo __("Lire l'article", 'homegrade-theme__texte-fonctionnel') ?></span>
|
||||||
<span class="sr-only"><?php echo $post_title ?></span>
|
<span class="sr-only"> <?php echo $post_title ?></span>
|
||||||
<img class="cta_arrow_button" src='<?php echo get_template_directory_uri() ?>/resources/img/graphic-assets/arrow-right-circle.svg' alt=''>
|
<img class="cta_arrow_button" src='<?php echo get_template_directory_uri() ?>/resources/img/graphic-assets/arrow-right-circle.svg' alt=''>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<a href=" <?php echo $args['permalink'] ?>" class="page-card__cta cta cta--read-more cta--with-arrow-button cta--streched ">
|
<a href=" <?php echo $args['permalink'] ?>" class="page-card__cta cta cta--read-more cta--with-arrow-button cta--streched ">
|
||||||
<!-- cta-read-more -->
|
<!-- cta-read-more -->
|
||||||
<span><?php echo __("En savoir plus", 'homegrade-theme__texte-fonctionnel') ?></span>
|
<span><?php echo __("En savoir plus", 'homegrade-theme__texte-fonctionnel') ?></span>
|
||||||
<span class="sr-only"><?php echo $args['title'] ?></span>
|
<span class="sr-only"> <?php echo $args['title'] ?></span>
|
||||||
<img class="cta_arrow_button" src='<?php echo get_template_directory_uri() ?>/resources/img/graphic-assets/arrow-right-circle.svg' alt=''>
|
<img class="cta_arrow_button" src='<?php echo get_template_directory_uri() ?>/resources/img/graphic-assets/arrow-right-circle.svg' alt=''>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user