WordPress iframe dimensions and Cumulative Layout Shift

Unsized iframes (82.1%) versus explicitly sized iframes (62.7%): how reserving embed dimensions affects Cumulative Layout Shift across iframe-using sites.

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 →

82.1% of WordPress sites use unsized iframe dimension sizing, and 75% 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 · 29,444 sites with iframe dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
1

CLS pass rate

Sites with unsized iframe dimension sizing have a good CLS most often: 75%, against 78% of all WordPress sites. Sites with explicitly sized iframe dimensions have it least often, at 75%.

SitesGood, needs improvement, poor CLSMedian
All WordPress sites17,00578%0.03
Unsized iframe (no width/height) 82.1%8,29675%0.04
Explicit width & height attributes 62.7%5,81775%0.04
GoodNeeds improvementPoorSites: with Chrome field data
The State of Web Vitals · October 2026 · WordPress: 63,295 crawled sites · 17,005 with desktop field data · 29,444 sites with iframe dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
2

Iframe dimension sizing usage

Unsized is the most used: 82.1% of WordPress sites.

Sites using each option (sites can use more than one) 29,444 sites
Unsized iframe (no width/height) 82.1% Explicit width & height attributes 62.7%
Unsized iframe (no width/height) 82.1% Explicit width & height attributes 62.7%
The State of Web Vitals · October 2026 · WordPress: 63,295 crawled sites · 17,005 with desktop field data · 29,444 sites with iframe dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
3

Iframe dimension sizing per framework

React sets the iframe dimension sizing to unsized on 87% of its sites, and 75% of React sites have a good CLS, against 78% of all sites.

FrameworkIframe dimension sizing on its sitesGood CLS
WordPress sites with iframe dimension sizing 29,444 sitesUnsized iframe (no width/height) 82%Explicit width & height attributes 63%78%
jQuery 28,576 sitesUnsized iframe (no width/height) 82%Explicit width & height attributes 63%77%
React 1,151 sitesUnsized iframe (no width/height) 87%Explicit width & height attributes 57%75%
Vue 1,361 sitesUnsized iframe (no width/height) 85%Explicit width & height attributes 47%75%
Unsized iframe (no width/height) Explicit width & height attributes
The State of Web Vitals · October 2026 · WordPress: 63,295 crawled sites · 17,005 with desktop field data · 29,444 sites with iframe dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
4

Iframe dimension sizing or the framework

Does the framework explain the iframe dimension sizing difference?

On jQuery, 75% of sites with unsized iframe dimension sizing have a good CLS, against 75% of jQuery sites with explicitly sized. Within jQuery, sites with unsized and explicitly sized have a good CLS about equally often. On Vue, 72% of sites with unsized iframe dimension sizing have a good CLS, against 71% of Vue sites with explicitly sized. Within Vue, sites with unsized and explicitly sized have a good CLS about equally often.

Why visible iframes cannot infer an aspect ratio without attributes

Unlike images, an <iframe> has no intrinsic dimensions in its network header; without explicit width and height attributes or a sized container, the browser defaults the frame to 300x150 pixels until scripts resize it. Across iframe-using sites, 62.7% size their embeds explicitly (75% good CLS) and 82.1% include unsized iframes (75% good CLS, largely hidden utility sandboxes).

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

Understanding iframe dimension sizing

Reserve fixed width and height attributes or a CSS aspect-ratio container around every visible iframe so late postMessage resizes do not shift surrounding layout. Across sites with iframes, 62.7% set explicit iframe dimensions (75% good CLS) while 82.1% contain at least one unsized iframe (75% good CLS).

The State of Web Vitals · October 2026 · WordPress: 63,295 crawled sites · 17,005 with desktop field data · 29,444 sites with iframe dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
Related signals Scripts per page → DOM depth → DOM size → Page weight & requests → By Arjen Karel · 63,295 crawled WordPress sites (17,005 with desktop Chrome field data, 29,444 sites with iframe dimension sizing, October 2026) · How we measured