CLS is configured to stay under 0.1
Why it matters
Cumulative Layout Shift above 0.1 — Google's 'needs improvement' threshold under ISO-25010 time-behaviour — causes visible content jumps that erode user trust and trigger accidental clicks. A hero image without explicit dimensions reserves no space in the layout; when it loads, everything below it shifts down. A cookie consent bar using position: relative shoves the page body down every time it appears. Beyond user frustration, high CLS is a Core Web Vitals failure that degrades page experience scores in Google Search and can reduce organic rankings for the affected URL. Marketing pages built with AI tools are especially prone to this — image dimensions are frequently omitted and cookie banners are injected as afterthoughts.
Severity rationale
Critical because visible layout shifts destroy user trust and directly lower Google Core Web Vitals scores, reducing organic search rankings for the affected marketing page.
Remediation
Fix each CLS source independently — every <img> tag needs explicit dimensions, every font needs font-display: swap, and every notification bar needs fixed positioning so it overlays rather than shifts content.
// 1. Dimensions on every image
<img src="/feature.webp" width={600} height={400} alt="Feature" />
// 2. Font loading in globals.css
@font-face {
font-family: 'Inter';
src: url('/fonts/inter.woff2') format('woff2');
font-display: swap; /* show fallback immediately, swap when loaded */
}
// 3. Cookie banner — fixed so it never shifts body content
.cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 50;
}
For Next.js, use next/font instead of @font-face — it handles font-display: swap and self-hosting automatically.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Page Speed Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- iso-25010:2011 · performance-efficiency.time-behaviour — CLS ≤ 0.1 — visual stability as time-behaviour
Taxons
History
- 2026-04-18·v1.0.0·Initial import from marketing-page-speed·automated