Image aspect ratio audit failed in pages with no images
See original GitHub issueHi!
I’ve been testing a webpage that contains no images, and Lighthouse is still reporting a failed audit on “Does not use images with appropiate aspect ratio”:
You can check it out in http://fontcuberta.cat
I even added the `sizes=“16x16” parameter in my favicon links, just in case.
thanks
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Displays images with incorrect aspect ratio
Learn how to display responsive images with the correct aspect ratio. ... How the Lighthouse image aspect ratio audit fails.
Read more >Expected Image Size is incorrect · Issue #10802 - GitHub
In the Best Practices audit, using Mobile mode, Lighthouse reports: Displays images with inappropriate size. Image natural dimensions should ...
Read more >Using image aspect ratios to avoiding janky page loading
The problem is that the browser knows the width of the image as it's usually set to 100% , but the height has...
Read more >Setting Height And Width On Images Is Important Again
To prevent layout shifts and improve performance scores, we need to always set width and height attributes on our images.
Read more >Image file requirements - Hootsuite Help Center
Image file requirements ; Max file size, 5 MB (8 MB for GIFs), 8 MB ; Images per post, 4, 10 ; Aspect...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @kemalcany - please follow the fix outlined above. I ran it with the Extension and 2.7.0 and it worked 😃
@vinamratasingal fantastic! You’ve added SEO too! Cool. Thank you very much!!!