🚀 Launch countdown

9 December 2026

Images

Missing Image Size Attributes

An image element is missing width and height attributes.

Why it matters

Without width and height attributes, browsers can’t reserve space before the image loads, which can cause layout shifts and hurt CLS.

How to fix it

  1. Add width and height attributes that match the image’s aspect ratio.
  2. Keep width and height attributes for aspect ratio even when CSS controls display size.

Where to find it

This finding is reported in the Images tab, and appears in Findings under the matching severity.

A term you don't recognise is defined in the glossary.

Other images findings

Findings library, by category.