xfix.ai ux
CHK-042 · LowApplies toStores

No unexpected layout shift in checkout

The first checkout step does not jump about on its own while it loads. Measured as Cumulative Layout Shift (CLS) the way web.dev defines it: shifts within 500 ms of a click, tap or key press are left out, the rest are grouped into bursts, and the largest burst is the score. One load in a desktop browser, from the moment the page opens until it settles, before the audit touches it; not the visits of real shoppers that Google assesses.

Step: CheckoutSeverity: LowWeight: 0.5 pts of the 100-point scoreSource: web.dev · Cumulative Layout Shift (CLS)

What it looks for

The first checkout step does not jump about on its own while it loads. Measured as Cumulative Layout Shift (CLS) the way web.dev defines it: shifts within 500 ms of a click, tap or key press are left out, the rest are grouped into bursts, and the largest burst is the score. One load in a desktop browser, from the moment the page opens until it settles, before the audit touches it; not the visits of real shoppers that Google assesses.

  • Pass: CLS 0.1 or less.
  • Partial: CLS above 0.1, up to 0.25.
  • Fail: CLS above 0.25.

How it is checked

  1. Fresh browser. Signed out, cookies cleared, desktop and mobile viewports, the store's live theme.
  2. Open a product. A real, in-stock product page, found the way a shopper finds one.
  3. Add to cart. Default variant, quantity one, then the cart page itself.
  4. Walk the checkout. From the cart to the payment step. Nothing is ever bought.
  5. Judge this rule. Against the standard above, on what a shopper can see.
  6. Record the verdict. Pass, partial or fail, saved with the evidence it was judged on: a screenshot where the rule is visual.

Why it matters

web.dev, where Google defines the Core Web Vitals, counts a layout shift as bad when the shopper does not expect it: text moves while they read, or a button moves as they tap and they press the wrong thing. Shifts that follow the shopper's own click or key press are not counted. A score of 0.1 or less is good; above 0.25 is poor.

How to fix it

  1. Reserve space for what loads late (express payment buttons, shipping options, the order summary, banners) with a fixed height or a placeholder of the same size.
  2. Give every image and logo in the checkout its width and height.
  3. Add late content below what the shopper is looking at, never above it.

Sources

How to cite it

"No unexpected layout shift in checkout" (CHK-042), a rule in the xfix ux rulebook. xfix ux, xfix.ai/ux/rules/stores/layout-jump-on-form-errors/

Questions

What does CHK-042 check?

The first checkout step does not jump about on its own while it loads. Measured as Cumulative Layout Shift (CLS) the way web.dev defines it: shifts within 500 ms of a click, tap or key press are left out, the rest are grouped into bursts, and the largest burst is the score. One load in a desktop browser, from the moment the page opens until it settles, before the audit touches it; not the visits of real shoppers that Google assesses.

What counts as a pass on CHK-042?

CLS 0.1 or less.

What counts as a fail on CHK-042?

CLS above 0.25.

Why does CHK-042 matter?

web.dev, where Google defines the Core Web Vitals, counts a layout shift as bad when the shopper does not expect it: text moves while they read, or a button moves as they tap and they press the wrong thing. Shifts that follow the shopper's own click or key press are not counted. A score of 0.1 or less is good; above 0.25 is poor.

How do I fix a fail on CHK-042?

Reserve space for what loads late (express payment buttons, shipping options, the order summary, banners) with a fixed height or a placeholder of the same size. Give every image and logo in the checkout its width and height. Add late content below what the shopper is looking at, never above it.