What CLS measures
When the browser paints something on screen and then moves it, that movement is a layout shift. The reader did not ask for it, so it counts against the page. CLS adds those shifts up across the whole time someone is on the page, and scores each one by how much of the screen moved and how far it travelled. A small notice sliding a long way and a large block nudging slightly can end up scoring much the same.
Movement that follows a tap or a click within a moment is excluded, because the visitor caused it. Everything else counts: an image arriving with no space reserved for it, an advert slot expanding, a consent bar pushing the article down, a web font swapping in at a different size. The result is a ratio rather than a time, and lower is better.
Why CLS matters
It is one of the Core Web Vitals Google reports, so it feeds the page experience signals. That is the smaller part of the argument. The larger part is that a page which moves loses money directly: a thumb aiming at “Add to basket” lands on “Remove”, or a tap meant for a phone number opens an advert instead. Most Nepali traffic is mobile, on connections where images and scripts arrive late and unevenly, which is exactly when shifts happen.
Layout stability is also the one speed problem a client can see without a tool. That makes it easy to get agreement on fixing, and embarrassing to leave alone.
Common mistakes with CLS
Most of the damage comes from images and videos published without width and height attributes, leaving the browser no way to reserve a gap of the right shape before the file arrives. Close behind is anything JavaScript inserts above content that is already visible — consent bars, promotional strips, personalised greetings, chat widgets that push the page rather than float over it.
The other mistake is trusting a single lab test. A synthetic run loads the page and stops, so it only sees shifts during loading. Real visitors scroll, and content that loads as they scroll can shift too. When a lab score looks clean but the field data does not, the movement is happening after the point at which the test ended.
How to act on it
Start from field data, because that is what is graded, then reproduce the worst pages in Chrome’s performance tools, which will name the element that moved. Give images and embeds explicit dimensions or an aspect ratio, reserve a fixed height for any slot filled in later, and load fonts so the fallback is close in size to the final face.
Two habits prevent most repeats. Never insert anything above existing content unless the visitor asked for it, and animate transforms rather than properties that change layout. If the shifts trace back to a theme or a plugin you cannot control, that is a build decision, and page speed work is where it belongs rather than in a content edit.
