Skip to content

Commit

Permalink
fix: added aria-label for cardReadMore component in iconBlock (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni authored Mar 27, 2024
1 parent 1edc6f1 commit bce4f36
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ const ViewBlock = ({ data, isOpen, toggle, id, index }) => {
tag={UniversalLink}
href={data.href ?? '#'}
text={data.linkMoreTitle || intl.formatMessage(messages.vedi)}
aria-label={
data.linkMoreTitle
? data.linkMoreTitle
: intl.formatMessage(messages.vedi) + ' ' + data.title
}
/>
)}
</CardBody>
Expand Down

0 comments on commit bce4f36

Please sign in to comment.