Visual stability ensures that agents can reliably interact with elements based
on their position. Agents often rely on screenshots or coordinate-based
interaction.

Unexpected layout shifts can cause an agent to miscalculate the position of a
button or input, leading to failed interactions. The Cumulative Layout Shift
(CLS) audit measures these movements.

To learn how to optimize your site for stability, see the [Cumulative Layout
Shift
documentation](https://web.dev/articles/cls).