From 2d8830a969d91881430d3d51e1a63aebdd3cae88 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 2 Apr 2024 16:38:54 +0200 Subject: [PATCH] reverting title order for screen readers --- template-components/cards/card-news.css | 4 ++++ template-components/cards/card-news.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/template-components/cards/card-news.css b/template-components/cards/card-news.css index 1dbd976..0bc94a9 100644 --- a/template-components/cards/card-news.css +++ b/template-components/cards/card-news.css @@ -46,6 +46,10 @@ rounded-xl mb-4; } + &__tag, + &__thematique-tag { + order: -1; + } &__title { @apply !text-lg font-bold text-secondary mb-1; diff --git a/template-components/cards/card-news.php b/template-components/cards/card-news.php index dca67b9..0756433 100644 --- a/template-components/cards/card-news.php +++ b/template-components/cards/card-news.php @@ -14,13 +14,13 @@ $mainThematique = getMainThematique($thematique) ?? null;
+

name ?>

name ?>

-