Skip to content

Commit

Permalink
added alt text to link on infocard (due to acessibility matters) (#1132)
Browse files Browse the repository at this point in the history
#### What problem is this solving?

Acessibility issues related to the link of the infocard

---------

Co-authored-by: Adriana Evangelista <adriana.costa@corebiz.ag>
  • Loading branch information
adiefco and Adriana Evangelista authored Feb 28, 2025
1 parent 605572f commit d1843fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Changed

- Added alternative text to infocard link
- Fully refactor of `sortVariationsByLabel` property

## [3.176.1] - 2024-11-08
Expand Down
1 change: 1 addition & 0 deletions react/components/InfoCard/CallToAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const CallToAction = ({ mode, text, url, linkTarget }) => {
className={`${handles.infoCardCallActionContainer} mt6 mb6`}
target={linkTarget}
to={url}
alt={text}
>
<ActionWrapper text={text} mode={mode} />
</Link>
Expand Down

0 comments on commit d1843fb

Please sign in to comment.