Core Web Vitals Poor CLS (> 0.1): Images or Fonts Shifting Page Layout
`<img>` tags lacked explicit `width`/`height` attributes or web fonts swapped without metric fallback.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: Core Web Vitals Poor CLS (> 0.1)
Platform: Web
Common Root Causes:
- `<img>` tags lacked explicit `width`/`height` attributes or web fonts swapped without metric fallback.
Interactive Diagnostic Checklist
Verified Solutions:
- Set explicit `width` and `height` (or CSS `aspect-ratio`) on all media and reserve slot heights.
Safe Diagnostic Command:
Inspect Layout Shift Regions in Chrome DevTools Performance tab
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
`<img>` tags lacked explicit `width`/`height` attributes or web fonts swapped without metric fallback. Recommended diagnostic: `Inspect Layout Shift Regions in Chrome DevTools Performance tab`. Remediation: Set explicit `width` and `height` (or CSS `aspect-ratio`) on all media and reserve slot heights.
Worked Examples
- Run `Inspect Layout Shift Regions in Chrome DevTools Performance tab` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-web-cls-layout-shift-images · Independently verified: 2026-11-25