reverting title order for screen readers
This commit is contained in:
parent
563582355a
commit
2d8830a969
|
|
@ -46,6 +46,10 @@
|
||||||
rounded-xl
|
rounded-xl
|
||||||
mb-4;
|
mb-4;
|
||||||
}
|
}
|
||||||
|
&__tag,
|
||||||
|
&__thematique-tag {
|
||||||
|
order: -1;
|
||||||
|
}
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
@apply !text-lg font-bold text-secondary mb-1;
|
@apply !text-lg font-bold text-secondary mb-1;
|
||||||
|
|
|
||||||
|
|
@ -14,13 +14,13 @@ $mainThematique = getMainThematique($thematique) ?? null;
|
||||||
<?php echo $post_thumbnail ?>
|
<?php echo $post_thumbnail ?>
|
||||||
<div class="card-news__inner">
|
<div class="card-news__inner">
|
||||||
<div class="card-news__heading">
|
<div class="card-news__heading">
|
||||||
|
<h3 class="card-news__title"><?php echo $post_title ?></h3>
|
||||||
<?php if ($news_type) : ?>
|
<?php if ($news_type) : ?>
|
||||||
<p class="card-news__tag"><?php echo $news_type[0]->name ?></p>
|
<p class="card-news__tag"><?php echo $news_type[0]->name ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ($thematique) : ?>
|
<?php if ($thematique) : ?>
|
||||||
<p class="card-news__thematique-tag card-news__thematique-tag--<?php echo $mainThematique->slug ?>"><?php echo $thematique->name ?></p>
|
<p class="card-news__thematique-tag card-news__thematique-tag--<?php echo $mainThematique->slug ?>"><?php echo $thematique->name ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<h3 class="card-news__title"><?php echo $post_title ?></h3>
|
|
||||||
<?php if ($post_date) : ?>
|
<?php if ($post_date) : ?>
|
||||||
<p class="card-news__post-date card-news__post-date"><?php echo $post_date ?></p>
|
<p class="card-news__post-date card-news__post-date"><?php echo $post_date ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user