Skip to content

Commit

Permalink
Adds alttext to video fixture and snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Camille Croci committed Feb 2, 2023
1 parent f324591 commit c8bc614
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion components/x-teaser/__fixtures__/video.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"image": {
"url": "http://com.ft.imagepublish.upp-prod-eu.s3.amazonaws.com/a27ce49b-85b8-445b-b883-db6e2f533194",
"width": 1920,
"height": 1080
"height": 1080,
"altText": "Image alt text"
},
"video": {
"url": "https://next-media-api.ft.com/renditions/15218247321960/640x360.mp4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ exports[`x-teaser / snapshots renders a Hero teaser with video data 1`] = `
}
>
<img
alt=""
alt="Image alt text"
className="o-teaser__image"
src="https://www.ft.com/__origami/service/image/v2/images/raw/http%3A%2F%2Fcom.ft.imagepublish.upp-prod-eu.s3.amazonaws.com%2Fa27ce49b-85b8-445b-b883-db6e2f533194?source=next&fit=scale-down&dpr=2&width=340"
/>
Expand Down Expand Up @@ -1647,7 +1647,7 @@ exports[`x-teaser / snapshots renders a HeroOverlay teaser with video data 1`] =
}
>
<img
alt=""
alt="Image alt text"
className="o-teaser__image"
src="https://www.ft.com/__origami/service/image/v2/images/raw/http%3A%2F%2Fcom.ft.imagepublish.upp-prod-eu.s3.amazonaws.com%2Fa27ce49b-85b8-445b-b883-db6e2f533194?source=next&fit=scale-down&dpr=2&width=640"
/>
Expand Down Expand Up @@ -2067,7 +2067,7 @@ exports[`x-teaser / snapshots renders a HeroVideo teaser with video data 1`] = `
}
>
<img
alt=""
alt="Image alt text"
className="o-teaser__image"
src="https://www.ft.com/__origami/service/image/v2/images/raw/http%3A%2F%2Fcom.ft.imagepublish.upp-prod-eu.s3.amazonaws.com%2Fa27ce49b-85b8-445b-b883-db6e2f533194?source=next&fit=scale-down&dpr=2&width=420"
/>
Expand Down Expand Up @@ -2781,7 +2781,7 @@ exports[`x-teaser / snapshots renders a Large teaser with video data 1`] = `
}
>
<img
alt=""
alt="Image alt text"
className="o-teaser__image"
src="https://www.ft.com/__origami/service/image/v2/images/raw/http%3A%2F%2Fcom.ft.imagepublish.upp-prod-eu.s3.amazonaws.com%2Fa27ce49b-85b8-445b-b883-db6e2f533194?source=next&fit=scale-down&dpr=2&width=340"
/>
Expand Down Expand Up @@ -3859,7 +3859,7 @@ exports[`x-teaser / snapshots renders a SmallHeavy teaser with video data 1`] =
}
>
<img
alt=""
alt="Image alt text"
className="o-teaser__image"
src="https://www.ft.com/__origami/service/image/v2/images/raw/http%3A%2F%2Fcom.ft.imagepublish.upp-prod-eu.s3.amazonaws.com%2Fa27ce49b-85b8-445b-b883-db6e2f533194?source=next&fit=scale-down&dpr=2&width=240"
/>
Expand Down Expand Up @@ -5131,7 +5131,7 @@ exports[`x-teaser / snapshots renders a TopStoryLandscape teaser with video data
}
>
<img
alt=""
alt="Image alt text"
className="o-teaser__image"
src="https://www.ft.com/__origami/service/image/v2/images/raw/http%3A%2F%2Fcom.ft.imagepublish.upp-prod-eu.s3.amazonaws.com%2Fa27ce49b-85b8-445b-b883-db6e2f533194?source=next&fit=scale-down&dpr=2&width=640"
/>
Expand Down

0 comments on commit c8bc614

Please sign in to comment.