CLS
โ Cumulative Layout Shift to measure visual stability ๐<0.1 arb
aka Cumulative-Layout-Shift
Layout Shift
โ
when Element in Viewport changes position - any jitter between frames - indicate visual instability, usually unintentional - measure by CLS
CLS should NOT measure user triggered Layout Shift - any lag to user input contributes to FID
CLS should exclude animations & transitions - which are obviously intentional/expected Layout Shift
font load will delay LCP & then add to CLS for 2X kick in the $&#!
fonts.googleapis.com went down! unreliable!
Referencesโ
Web Vitals
โ metrics to QA test Web Page UX as LCP, FID & CLS vs 75th percentile page loadsLayout Shift
โ when Element in Viewport changes position - any jitter between frames - indicate visual instability, usually unintentional - measure by CLS