Skip to content

Commit

Permalink
fix: a11y of listing block read-more with card-slide-text template (#415
Browse files Browse the repository at this point in the history
)

Co-authored-by: Piero Nicolli <[email protected]>
  • Loading branch information
SaraBianchi and pnicolli authored Nov 23, 2023
1 parent 69f1a42 commit 6260983
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

### Fix

- Sistemata accessibilità del read-more nel blocco elenco con variazione "Card con testo animato" quando si è in un sottosito con uno stile applicato.
- Sistemato errore quando viene impostato "service-link" come ID lighthouse.

## Versione 10.4.1 (21/11/2023)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,14 @@ const CardWithSlideUpTextTemplate = (props) => {
{show_description && item.description && (
<p>{item.description}</p>
)}
<div className="read-more">
<CardReadMore
iconName="it-arrow-right"
tag={UniversalLink}
item={!isEditMode ? item : null}
href={isEditMode ? '#' : null}
text={intl.formatMessage(messages.vedi)}
className="justify-content-end"
/>
</div>
<CardReadMore
iconName="it-arrow-right"
tag={UniversalLink}
item={!isEditMode ? item : null}
href={isEditMode ? '#' : null}
text={intl.formatMessage(messages.vedi)}
className="justify-content-end"
/>
</div>
</UniversalLink>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@
}
}

.read-more a,
.read-more a .icon {
a.read-more,
a.read-more .text + .icon,
a.read-more .text {
color: #fff;
fill: #fff;
text-decoration: none;
Expand Down

0 comments on commit 6260983

Please sign in to comment.