# Diagnose Layout Shift From a Late Notification Banner

https://ferkesh.net/zh/knowledgebase/article/performance-late-notice-banner-layout-shift

An asynchronously inserted notice can move the content a visitor is reading. Reproduce when it appears and measure whether the page can accommodate it without displacement.

![Workflow. Capture the late banner. Find displaced content. Test stable placement. Check both widths.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-17b.svg#performance-late-notice-banner-layout-shift)

## Record the visual change

Use representative consent or notification states on staging. Record the page from navigation until the banner appears. In Chrome Performance, compare screenshots and any Layout Shift events around insertion.

## Separate trigger and affected elements

Identify what requested the notice and which content visibly moved. A shifted element in the trace can be the victim of a change above it. Check the case with no banner as a control.

## Rehearse stable placement

Test reserving an appropriate space, rendering the notice earlier or using an accessible placement that leaves surrounding content stable. Check that it does not hide focus, critical content or controls.

## Verify across breakpoints

Repeat with longer text and representative narrow and wide widths. Record the visual position and measured shifts after the scoped change.

## Related guides

- [Diagnose Layout Shifts Caused by Web Font Swaps](https://ferkesh.net/knowledgebase/article/web-font-swap-layout-shift)
- [How to Test an Accessible Error Path in a Website Form](https://ferkesh.net/knowledgebase/article/accessibility-published-form-error-audit)

## Official references

- [web.dev optimization guidance for Cumulative Layout Shift](https://web.dev/articles/optimize-cls)

Ferkesh Hosting. Last reviewed November 27, 2026.
