Skip to content

Technique g20x2:Section panels that scroll horizontally are designed to fit within a width of 320 CSS pixels on a vertically scrolling page

About this Technique

This technique is not referenced from any Understanding document.

This technique applies to all technologies.

Description

The objective of this technique is to ensure that users can zoom in on text within a horizontally scrolling section, while not requiring horizontal scrolling to read the content of each individual panel. Although the entire section requires horizontal scrolling to navigate between panels, each panel is designed to fit within a fixed width of 320 CSS pixels. This ensures that when a 320 CSS pixel wide viewport is used, and the card is in the viewport, each card will remain fully visible without the need for additional horizontal scrolling to read its content.

Examples

Tests

Procedure

  1. Check that the layout includes sections of content that scroll horizontally within a vertically scrolling page.
  2. Check that each horizontally scrolling section is divided into distinct panels.
  3. Open the webpage in a user agent that supports 400% zoom, setting the viewport dimensions to 1280 CSS pixels in width.
  4. Activate the zoom function to enlarge the view by 400%.
  5. Check that the content of each individual panel within the horizontally scrolling sections is fully readable without the need for additional horizontal scrolling.

Note

Note

The native browser scrollbar is not included in the viewport dimensions. Therefore, when setting the view to 1280 CSS pixels wide for a vertically scrolling page, make sure to exclude the scrollbar width.

Expected Results

  • All checks above are true.
Back to Top