Closed alex-magana closed 3 weeks ago
Resolves JIRA [number]
A very high-level summary of easily-reproducible changes that can be understood by non-devs, and why these changes where made.
srcSet
srcset
img
Before
After
Add Links to useful resources related to this PR if applicable.
Coding Standards
Repository use guidelines
Resolves JIRA [number]
Overall changes
A very high-level summary of easily-reproducible changes that can be understood by non-devs, and why these changes where made.
Code changes
srcSet
instead ofsrcset
to match the Image component props, to ensure thesrcset
attribute is included in the renderedimg
element.Testing
srcset
attribute in theimg
element.Before![Screenshot 2024-06-19 at 16 16 00](https://github.com/bbc/simorgh/assets/20963836/f0a007a1-b3d2-4798-94e4-d71a94a31ea3)
After![Screenshot 2024-06-19 at 16 23 26](https://github.com/bbc/simorgh/assets/20963836/0e3c3fba-b403-439e-8d0f-6da1b9dd93a4)
Helpful Links
Add Links to useful resources related to this PR if applicable.
Coding Standards
Repository use guidelines