DSG-01
Content overflows the screen width
What the check measures
The page is loaded in a real browser at three widths: 390, 768 and 1440 px (config/), and at each the document width is compared with the window width. The finding is raised when the document exceeds it by more than 2 px (thresholds., a rounding tolerance).
Severity scales with breadth of impact: when overflow appears at enough viewports of the same page, the finding is raised to critical; otherwise it stays a warning. The three measurements of one page are merged into one row in the report, not three near-identical ones.
What the check does not do: it does not tell you which element overflows (only that the document is wider), it examines no widths other than those three, and it cannot see overflow that appears after an interaction (after opening a menu or a consent bar).
The finding is page-level. It comes with an annotated screenshot marking the spot, when the module managed to determine a bounding box.
How strong the evidence is
We recommend it because it does no harm or has some other benefit, but we promise nothing about whether it makes language models cite you. Nobody has demonstrated that yet.
For visibility in AI answers there is no effect at all and we will not pretend otherwise: overflow is a property of rendering, not of content. The text in the HTML is the same whether it fits the screen or not.
What it is, though, is the one category of finding in the whole audit a customer can verify in ten seconds. Open the site on a phone and swipe right. Either the page moves sideways or it does not.
Why it matters: horizontal scrolling on a phone is one of the most frustrating things on the web. Text runs off screen, a button is half hidden, and the visitor cannot tell whether it is broken or meant to be that way. A large share of traffic now comes from phones. And an overflowing page is worse for them than a slow one.
The practical conclusion: fix it for people. It is a recommendation with no search engine behind it, and that takes nothing away from the finding. It only changes its reason.
How to fix it
You will find the culprit in a browser in a minute. Open the console at the width where it happens and list every element extending past the window:
document.querySelectorAll('*').forEach(el => {
const r = el.getBoundingClientRect();
if (r.right > window.innerWidth + 1) console.log(Math.round(r.right), el);
});The list will be short and it is nearly always one of these five:
- A table. Wrap it in a container with
overflow-x: auto. Let the table scroll, not the page. Also reported byDSG-07. - A long URL or long word in body text.
overflow-wrap: anywhereon the content block. - An image with no width limit.
max-width: 100%; height: auto. - Preformatted code (
<pre>). Same as the table: its own scrollbar. - A fixed pixel width somewhere in the layout.
width: 1200pxalways overflows on a phone; usemax-width.
And a trap people routinely fall into while fixing this: overflow-x: hidden on <body> does not solve the problem, it hides it. The content stays off screen, only now unreachable: a broken page becomes a broken page without a scrollbar. On some devices it also breaks smooth scrolling. Fix the cause, not the symptom.
What the report says about it
Finding description
At widths [viewports] px the document overflows horizontally beyond the visible area. Visitors have to scroll sideways to see everything, or part of the text/controls stays hidden.
Recommendation
Find the element forcing a width wider than the viewport (a fixed pixel width, an image/
Sources
- MDN: overflow-wrap (accessed 2026-09-12)
- W3C WAI: Reflow (WCAG 1.4.10) (accessed 2026-09-12)
Text verified 2026-09-12