WordPress image dimensions and Cumulative Layout Shift

Explicit width and height attributes (92.2%), CSS aspect-ratio (2.5%), and unsized <img> tags (74.4%): how reserving image boxes moves Cumulative Layout Shift.

Field data PhoneDesktopAll Scope All sites October 2026 edition · Desktop field outcomes · WordPress sites only
WordPress Scoped to 63,295 sites out of 203,892 analyzed (cms) Compare with all sites →

92.2% of WordPress sites use explicit width and height image dimension sizing, and 77% of those sites have a good CLS, against 78% of all WordPress sites.

The State of Web Vitals · October 2026 · WordPress: 63,295 crawled sites · 17,005 with desktop field data · 62,969 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
1

CLS pass rate

Sites with explicit width and height image dimension sizing have a good CLS most often: 77%, against 78% of all WordPress sites. Sites with unsized <img> image dimensions have it least often, at 77%.

SitesGood, needs improvement, poor CLSMedian
All WordPress sites17,00578%0.03
Explicit width & height attributes 92.2%15,57477%0.03
CSS aspect-ratio only 2.5%62677%0.03
Unsized <img> (no width/height or aspect-ratio) 74.4%13,30677%0.03
GoodNeeds improvementPoorSites: with Chrome field data
The State of Web Vitals · October 2026 · WordPress: 63,295 crawled sites · 17,005 with desktop field data · 62,969 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
2

Image dimension sizing usage

Explicit width and height is the most used: 92.2% of WordPress sites.

Sites using each option (sites can use more than one) 62,969 sites
Explicit width & height attributes 92.2% Unsized <img> (no width/height or aspect-ratio) 74.4%
Explicit width & height attributes 92.2% Unsized <img> (no width/height or aspect-ratio) 74.4% CSS aspect-ratio only 2.5%
The State of Web Vitals · October 2026 · WordPress: 63,295 crawled sites · 17,005 with desktop field data · 62,969 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
3

Image dimension sizing per framework

React sets the image dimension sizing to explicit width and height on 95% of its sites, and 75% of React sites have a good CLS, against 78% of all sites. Alpine sets the image dimension sizing to unsized <img> on 88% of its sites, and 81% of Alpine sites have a good CLS.

FrameworkImage dimension sizing on its sitesGood CLS
WordPress sites with image dimension sizing 62,969 sitesExplicit width & height attributes 92%Unsized <img> (no width/height or aspect-ratio) 74%78%
Alpine 379 sitesUnsized <img> (no width/height or aspect-ratio) 88%Explicit width & height attributes 78%CSS aspect-ratio only 12%81%
jQuery 60,046 sitesExplicit width & height attributes 93%Unsized <img> (no width/height or aspect-ratio) 75%77%
React 2,226 sitesExplicit width & height attributes 95%Unsized <img> (no width/height or aspect-ratio) 81%75%
Vue 4,829 sitesExplicit width & height attributes 95%Unsized <img> (no width/height or aspect-ratio) 86%75%
Explicit width & height attributes Unsized <img> (no width/height or aspect-ratio) CSS aspect-ratio only
The State of Web Vitals · October 2026 · WordPress: 63,295 crawled sites · 17,005 with desktop field data · 62,969 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
4

Image dimension sizing or the framework

Does the framework explain the image dimension sizing difference?

Almost every site with explicit width and height image dimension sizing is a jQuery site, and almost every jQuery site has explicit width and height image dimension sizing, so the data can't tell explicit width and height image dimension sizing and jQuery apart. On Vue, 75% of sites with explicit width and height image dimension sizing have a good CLS, against 74% of Vue sites with unsized <img>. Within Vue, sites with explicit width and height and unsized <img> have a good CLS about equally often. On React, 75% of sites with explicit width and height image dimension sizing have a good CLS, against 74% of React sites with unsized <img>. Within React, sites with explicit width and height and unsized <img> have a good CLS about equally often.

How browsers compute intrinsic aspect ratios from HTML width and height

User-agent stylesheets map HTML width and height attributes directly to an internal aspect-ratio property before the image file downloads. Across the web, 92.2% of sites size images with HTML width and height (77% good CLS), while 74.4% still include at least one unsized <img> (77% good CLS) and 2.5% use CSS aspect-ratio without HTML attributes (77% good CLS).

The State of Web Vitals · October 2026 · WordPress: 63,295 crawled sites · 17,005 with desktop field data · 62,969 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
5

Understanding image dimension sizing

Set explicit width and height attributes on every <img> element so the browser reserves its aspect ratio before stylesheets or image bytes arrive. Across all audited sites, 92.2% include explicitly sized images (77% good CLS), whereas 74.4% still ship at least one unsized image (77% good CLS) and 2.5% rely solely on CSS aspect-ratio (77% good CLS).

The State of Web Vitals · October 2026 · WordPress: 63,295 crawled sites · 17,005 with desktop field data · 62,969 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
Related signals Fonts per page → DOM size → Bytes by resource type → Images per page → By Arjen Karel · 63,295 crawled WordPress sites (17,005 with desktop Chrome field data, 62,969 sites with image dimension sizing, October 2026) · How we measured