Images without dimensions
page/image-dimensions
Images have no width and height, so the browser cannot reserve their space and the page jumps as they load: the layout shift Core Web Vitals measure.
- Severity
- Low
- Area
- Pages & meta
- Checked
- Weekly, and with Check now
- Health score
- Weight 1
- Scope
- Each page; past 10 pages, one finding for the site
How Talewright checks it
The weekly crawl reads every image's width and height attributes, and its inline width, height and aspect-ratio styles. An image positioned absolute or fixed, as Next.js fill does, passes.
How to fix it
Set width and height on every image to its natural size, or at least its aspect ratio, and let CSS scale it.
Related
- Page title missing
page/title - Title too short or too long
page/title-length - Duplicate page titles
page/duplicate-title - Meta description missing
page/meta-description - Duplicate meta descriptions
page/duplicate-description - Main heading missing or repeated
page/h1 - Page language missing
page/language - Mobile viewport missing
page/viewport - Images without alt text
page/image-alt - Several title tags
page/multiple-titles - Several meta descriptions
page/multiple-descriptions - Description too short or too long
page/description-length - Page language code not valid
page/lang-invalid - Doctype missing
page/doctype-missing - Character encoding not declared
page/charset-missing - Favicon missing
page/favicon-missing - Heading levels skipped
page/heading-order - Links or buttons without a name
page/empty-link - Form fields without labels
page/form-label - Generic link text
page/generic-link-text
Rule version 1.