File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
__tests__/components/__snapshots__ Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
77
88## [ Unreleased]
9+ ### Added
10+ - Including alt tag value in Infocard's image
911
1012## [ 3.161.27] - 2022-07-18
1113### Changed
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ exports[`<InfoCard /> should render with image and text side by side 1`] = `
173173 class = " infoCardImageContainer w-50-ns"
174174 >
175175 <img
176- alt = " "
176+ alt = " CLICK HERE "
177177 class = " infoCardImage"
178178 data-testid = " half-image"
179179 src = " my-image.com/image.png"
@@ -252,7 +252,7 @@ exports[`<InfoCard /> should wrap half image in a link with imageActionUrl 1`] =
252252 href = " dummy"
253253 >
254254 <img
255- alt = " "
255+ alt = " CLICK HERE "
256256 class = " infoCardImage"
257257 data-testid = " half-image"
258258 src = " my-image.com/image.png"
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ const InfoCard = ({
224224 className = { handles . infoCardImage }
225225 src = { finalImageUrl }
226226 style = { { objectFit : 'cover' } }
227- alt = ""
227+ alt = { formatIOMessage ( { id : callToActionText , intl } ) }
228228 data-testid = "half-image"
229229 />
230230 </ LinkWrapper >
You can’t perform that action at this time.
0 commit comments