SkillsReviewed · thedaviddias

Horizontal Scroll: Prevent horizontal scrolling

Horizontal Scroll is a CSS review skill for developers and coding assistants fixing sideways page scrolling, but its suggested fixes need browser verification. It covers container widths, media sizing, text wrapping and table overflow, with checks at 320 CSS pixels and 400% browser zoom.

Researched 17 Nov 2026

In short.

Horizontal Scroll is a CSS review skill for developers and coding assistants improving responsive pages, but it cannot establish accessibility compliance by itself. Its two Markdown files connect common overflow causes to CSS changes and rendered-page checks, using WCAG 2.1 Reflow as their accessibility reference. The guidance includes exceptions for content requiring two-dimensional layout. No execution results, browser compatibility findings or assistant integration results are available.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied skills/horizontal-scroll folder: SKILL.md and references/rule.md, plus the applicable repository-root LICENSE, at commit e8d14d049010e2ce25afcd5e8609dfcbbe63e47e. Other repository content, the linked website and external standards text are excluded. No code, assistant integration or browser journey was executed or tested; actual fixes, compatibility and accessibility outcomes remain unassessed.

The overview

Identity

The resource is the horizontal-scroll folder in David Dias's Front-End-Checklist repository: [https://github.com/thedaviddias/Front-End-Checklist/tree/main/skills/horizontal-scroll]. It contains SKILL.md and references/rule.md. The first supplies review instructions and metadata; the second expands them with CSS and HTML examples.

Its linked rule page is [https://frontendchecklist.io/rules/css/horizontal-scroll]. That page's contents are outside the supplied evidence.

Assessment

This is useful as a focused review aid when a page scrolls sideways on narrow screens or at high zoom. It gives reviewers concrete properties to inspect and asks them to identify affected selectors, declarations and breakpoints.

Its practical value is the connection between a visible layout problem and candidate fixes. The supplied files provide guidance rather than an automated diagnosis or demonstrated fix, so effectiveness on a particular page remains unassessed.

Users

Frontend developers, CSS reviewers and coding assistants can use it to investigate responsive layout failures. Accessibility reviewers may also find its narrow reflow checklist useful alongside a broader assessment.

Beginners get examples of fixed containers, oversized media and long strings. Experienced developers get a concise inspection checklist, although the author labels the task intermediate and assumes familiarity with CSS and browser developer tools.

Capabilities

The skill directs attention to fixed widths, minimum widths, unconstrained images and media, nowrap text, viewport-width sizing and long unbreakable strings. Suggested remedies include fluid containers, media width limits, text wrapping and wrapping layouts.

For wide tables, it recommends a local overflow-x: auto wrapper instead of making the whole page scroll sideways. The reference includes a wrapper with a region role and an accessible label. Verification guidance covers affected interaction states, computed styles and mobile and desktop viewports.

Using it

Requirements

Applying the guidance requires access to the target page's styles and rendered interface. Its verification steps need a browser capable of viewport resizing, zoom and computed-style inspection.

The files specify no assistant host, model, installation command or dependency versions. No account or API key requirement is stated for the documents themselves; requirements imposed by an assistant host are unknown.

Mechanism

The resource works through written instructions: inspect the page at narrow widths, trace overflow to relevant CSS, choose a candidate correction and verify the rendered result. It asks code reviewers to report exact selectors, declarations or breakpoints associated with the problem.

The 320 CSS pixel check is connected to 400% zoom on a 1280-pixel-wide display. These are review conditions described by the resource; the folder contains no bundled CSS parser, overflow detector or browser test runner.

Setup

Keep SKILL.md and references/rule.md together with their relative path intact so the main file's reference remains usable. A developer can read them directly while inspecting the target page.

For assistant use, installation depends on the host's skill-loading mechanism. The supplied files do not document that integration or establish compatibility with a particular assistant.

Example

The reference replaces .container { width: 1200px; } with .container { max-width: 1200px; width: 100%; }. The intended behavior is a container that can shrink while retaining an upper width limit.

To evaluate that candidate change, the skill calls for inspecting the page at 320 CSS pixels and high browser zoom, checking computed styles and confirming that content remains available. This is a documented example, with no execution or observed result.

Assessment & evidence

Limitations

This covers one layout issue and does not establish whole-site WCAG 2.1 AA compliance or certification. Its broad statements against horizontal scrolling need to be read alongside its explicit exceptions for content requiring two-dimensional layout, including tables, maps and video.

The files differ in their fallback suggestions for long strings: SKILL.md names word-wrap: break-word, while the reference uses word-break: break-word. They do not explain that difference or provide browser compatibility results.

No framework-specific implementation, executable tests or measured outcomes appear in the supplied folder. The proposed CSS changes still require evaluation in the actual page and its affected states.

Reasoning

The recommendations follow the causes described in the files: rigid container dimensions prevent shrinking, unconstrained media can exceed available width, and unbreakable text can extend beyond its container. Each example offers a corresponding sizing or wrapping change.

The table example also reflects the documented exception for two-dimensional content: keep the wide content locally scrollable while allowing the surrounding page to reflow. These connections support using the resource for diagnosis, but do not demonstrate that a proposed fix succeeds.

Alternatives

A developer can apply the same checks manually in browser developer tools without loading the skill into an assistant. For a single known overflow cause, references/rule.md may provide enough detail; SKILL.md adds a repeatable review checklist.

The supplied evidence does not describe competing skills, scanners or broader accessibility resources. Their relative coverage, costs and effectiveness are unknown.

Evidence

The source material comprises the complete supplied SKILL.md, references/rule.md and repository-root LICENSE. The Markdown files establish intended checks and example fixes; they contain no measured browser outcomes or assistant performance results.

The original captured skill file is [https://raw.githubusercontent.com/thedaviddias/Front-End-Checklist/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/skills/horizontal-scroll/SKILL.md]. Its companion reference is [https://raw.githubusercontent.com/thedaviddias/Front-End-Checklist/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/skills/horizontal-scroll/references/rule.md]. The external rule page and WCAG specification are not included in the supplied evidence.

Access & freshness

Costs

The MIT notice grants permission free of charge. The supplied documents state no purchase price or service charges. Any assistant subscription, model usage charges or other external costs are unknown.

The author estimates 10 minutes and labels the task intermediate. That estimate is guidance, not measured effort; actual implementation and verification time are unknown.

Rights

The repository-root MIT License names David Dias, copyright 2017–2026. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.

The material is supplied without warranty. The captured notice is available at [https://raw.githubusercontent.com/thedaviddias/Front-End-Checklist/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/LICENSE].

Freshness

The supplied snapshot was captured on 17 November 2026 at 11:34:16 UTC and pins all three files to commit e8d14d049010e2ce25afcd5e8609dfcbbe63e47e.

The commit date, subsequent upstream changes and maintenance cadence are unknown. The two skill files provide no changelog or supported-browser version matrix.

Actions

Start with a page that shows sideways scrolling, then use the checklist to identify the responsible selectors and candidate fixes. Distinguish ordinary content that should reflow from content covered by the resource's two-dimensional-layout exceptions.

After a change, follow the documented checks at 320 CSS pixels and 400% zoom, inspect computed styles and affected interaction states, and check mobile and desktop layouts. Confirm content remains available before treating the issue as resolved. Retain the MIT notices when redistributing the files.

Evidence for this report

LICENSEnotice · checked 2026-11-17
skills/horizontal-scroll/SKILL.mdselected · checked 2026-11-17
skills/horizontal-scroll/references/rule.mdselected · checked 2026-11-17