Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Image] SVG images lack width and height attributes #2270

Open
gabrielwalt opened this issue Aug 6, 2022 · 2 comments
Open

[Image] SVG images lack width and height attributes #2270

gabrielwalt opened this issue Aug 6, 2022 · 2 comments

Comments

@gabrielwalt
Copy link
Member

gabrielwalt commented Aug 6, 2022

For SVG images, it seems that the width and height attributes are missing on the img attribute.
The lack of such attributes causes cumulative layout shift, which impact the page performance.
The output should be for e.g.: <img width="200" height="150" src="logo.svg"/>

@gabrielwalt gabrielwalt changed the title SVG images lack width and height attributes [Image] SVG images lack width and height attributes Aug 8, 2022
@bpauli
Copy link
Contributor

bpauli commented Aug 12, 2022

@adobe export issue to Jira project SITES as Bug

@github-jira-sync-bot
Copy link
Collaborator

✅ Jira issue SITES-7426 is successfully created for this GitHub issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants