Audit rules
Image Dimensions Missing
An <img> element does not declare both width and height attributes, so the browser cannot reserve its space before it loads. In a QuikSEO audit, a failure of this rule has info severity and counts against the score. Below are the exact condition, its exceptions and the sources behind it, followed by the other rules of the same group.
images.missing_dimensionsInfo01 — Definition
How This Rule Is Checked
The rule is a pure function of the fetched page: no extra requests, no account settings. The same input always gives the same result.
Rule Severity and Score
- Rule id
images.missing_dimensions- Group
- Images
- Severity of a failure
- Info
- Counts in the score
- Yes, whenever it applies to the page
- Required for a score
- No
Condition and Exceptions
- Condition
- <img> without both width and height attributes → fail (info) with count
- Exceptions
- No images → not_applicable
Sources and Project Decision
- Sources
- Optimize Cumulative Layout Shift (section: Images without dimensions) (web.dev, Q67)
- Project decision
- Severity info is a project decision [D]. An empty width or height attribute counts as missing.
02 — Images
Other Rules in This Group
The other checks of the same group, each with its own condition and sources.
- Image Alt Attribute Missingimages.alt_missing
- Image Lazy Loadingimages.lazy_loading
- Images in Legacy Formatsimages.legacy_formats