diff --git a/RELEASE.md b/RELEASE.md index 6880a2837..9af415e84 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,11 @@ - ... --> +## Versione X.X.X (xx/xx/xxxx) + +### Migliorie + +- Migliorata l'accessibilità dei titoli dei contenuti ## Versione 8.9.0 (03/11/2023) ### Novità diff --git a/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx b/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx index d68ca7704..2215a9514 100644 --- a/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx +++ b/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx @@ -79,7 +79,9 @@ function NextArrow(props) { id="sliderNextArrow" > - {intl.formatMessage(messages.successivo)} + + {intl.formatMessage(messages.successivo)} + ); } @@ -122,7 +124,9 @@ function PrevArrow(props) { onKeyDown={handleKeyboardUsers} > - {intl.formatMessage(messages.precedente)} + + {intl.formatMessage(messages.precedente)} + ); } diff --git a/src/components/ItaliaTheme/CustomerSatisfaction/Steps/Commons/Rating.jsx b/src/components/ItaliaTheme/CustomerSatisfaction/Steps/Commons/Rating.jsx index 6691398ac..b8de09e01 100644 --- a/src/components/ItaliaTheme/CustomerSatisfaction/Steps/Commons/Rating.jsx +++ b/src/components/ItaliaTheme/CustomerSatisfaction/Steps/Commons/Rating.jsx @@ -79,7 +79,7 @@ export const Rating: FC = ({ if (isCustomLegendObject(legend)) { legendClass = classNames({ - 'sr-only': legend.srOnly + 'visually-hidden': legend.srOnly }); legendText = legend.content; } diff --git a/src/components/ItaliaTheme/View/BandoView/BandoApprofondimenti.jsx b/src/components/ItaliaTheme/View/BandoView/BandoApprofondimenti.jsx index cc7bcc5c8..7d6047783 100644 --- a/src/components/ItaliaTheme/View/BandoView/BandoApprofondimenti.jsx +++ b/src/components/ItaliaTheme/View/BandoView/BandoApprofondimenti.jsx @@ -47,7 +47,7 @@ const BandoApprofondimenti = ({ content }) => { padding={false} /> - + { > - + { <> {content.approfondimento.map((item, i) => ( <> - {item.title} + {item.title} {content.approfondimento[i].children.map((inner_item, x) => inner_item.type === 'Modulo' ? ( diff --git a/src/components/ItaliaTheme/View/BandoView/BandoText.jsx b/src/components/ItaliaTheme/View/BandoView/BandoText.jsx index 211e0bf31..dbb9ed64a 100644 --- a/src/components/ItaliaTheme/View/BandoView/BandoText.jsx +++ b/src/components/ItaliaTheme/View/BandoView/BandoText.jsx @@ -38,20 +38,18 @@ const BandoText = ({ content }) => { show_title={true} > {/* DESCRIZIONE DEL BANDO */} - {richTextHasContent(content?.text) && ( - - )} + {richTextHasContent(content?.text) && } {/* TIPOLOGIA DEL BANDO */} {content?.tipologia_bando && ( <> - {intl.formatMessage(messages.tipologia_bando)} + {intl.formatMessage(messages.tipologia_bando)} {content.tipologia_bando.title} > )} {/* DESTINATARI DEL BANDO */} {content?.destinatari?.length > 0 && ( <> - {intl.formatMessage(messages.destinatari)} + {intl.formatMessage(messages.destinatari)} {content.destinatari.map((item, i) => ( {item.title} ))} @@ -60,7 +58,7 @@ const BandoText = ({ content }) => { {/* ENTE DEL BANDO */} {content?.ente_bando?.length > 0 && ( <> - {intl.formatMessage(messages.ente)} + {intl.formatMessage(messages.ente)} {content.ente_bando.map((item, i) => ( {item} diff --git a/src/components/ItaliaTheme/View/BandoView/BandoView.jsx b/src/components/ItaliaTheme/View/BandoView/BandoView.jsx index afc140b2b..d42b015df 100644 --- a/src/components/ItaliaTheme/View/BandoView/BandoView.jsx +++ b/src/components/ItaliaTheme/View/BandoView/BandoView.jsx @@ -65,7 +65,7 @@ const BandoView = ({ content, location }) => { showtassonomiaargomenti={true} showbandostate={true} /> - +
{item.title}