From 19361c2cdf028728dfa5de242acda6d129afb9b3 Mon Sep 17 00:00:00 2001 From: Martina Bustacchini Date: Mon, 5 Feb 2024 10:54:05 +0100 Subject: [PATCH] fix: fixed semantic headings levels in rss templates, all h3 now --- RELEASE.md | 6 ++++++ .../Blocks/RssBlock/CardWithImageRssTemplate.jsx | 2 +- .../Blocks/RssBlock/CardWithoutImageRssTemplate.jsx | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index c9893dd99..09847bd2c 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -30,6 +30,12 @@ - ... --> +## Versione X.X.X (dd/mm/yyyy) + +### Fix + +- [ Accessibilità ] Migliorato l'HTML semantico per le card del blocco rss per migliorare l'esperienza d'uso con Screen Reader + ## Versione 7.24.2 (11/01/2024) ### Migliorie diff --git a/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx b/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx index 82ff9b0cb..dcfd5814c 100644 --- a/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx +++ b/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx @@ -80,7 +80,7 @@ const CardWithImageRssTemplate = ({ {getViewDate(item.pubDate || item.date, intl.locale)} {' '} - + {item.title} {item?.source?.length > 0 && ( diff --git a/src/components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate.jsx b/src/components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate.jsx index f03e747f4..16ec87c59 100644 --- a/src/components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate.jsx +++ b/src/components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate.jsx @@ -67,7 +67,7 @@ const CardWithoutImageRssTemplate = ({ )} - + {item.title} {item?.source?.length > 0 && (