Skip to content

Articles · Good practices

Text enlarged to 200% and pages at 320 px: what criteria 10.4 and 10.11 test

Criterion 10.4 checks that text stays legible at 200%, with text zoom and full-page zoom. Criterion 10.11 checks that the page displays without horizontal scrolling at 320 px wide. What these two RGAA criteria require, and a five-minute test.

By

· Published on

A partially sighted person enlarges the display to read. Depending on their settings, they enlarge only the text, or the whole page. In both cases, the page must remain usable. The RGAA checks two things: the text remains legible when enlarged to 200% (criterion 10.4), and the page displays without horizontal scrolling in a window 320 px wide (criterion 10.11).

Text enlarged to 200%: criterion 10.4

Criterion 10.4 asks: « Dans chaque page web, le texte reste-t-il lisible lorsque la taille des caractères est augmentée jusqu’à 200 %, au moins (hors cas particuliers) ? » (On each web page, does the text remain legible when the font size is increased up to at least 200%, except in particular cases?) It covers both ways of enlarging: the test methodology checks the text with the browser’s text zoom set to 200%, then with its full-page zoom set to 200%. Typical defects: text that overflows its block and overlaps the next one, a fixed-height button that cuts off its text, a menu whose last links go off the screen.

The cause is often a fixed size in pixels: height: 40px on a button, a font size in px that ignores the browser setting. Relative units, rem and em, and minimum heights rather than fixed ones avoid most of these cases. In WCAG 2.2, this is success criterion 1.4.4 Resize Text (Level AA).

The page at 320 px wide: criterion 10.11

Criterion 10.11 asks: « Pour chaque page web, les contenus peuvent-ils être présentés sans perte d’information ou de fonctionnalité et sans avoir recours soit à un défilement vertical pour une fenêtre ayant une hauteur de 256 px, soit à un défilement horizontal pour une fenêtre ayant une largeur de 320 px (hors cas particuliers) ? » (For each web page, can the content be presented without loss of information or functionality and without requiring either vertical scrolling for a window 256 px high, or horizontal scrolling for a window 320 px wide, except in particular cases?)

The test methodology reduces the browser window to 320 px wide and checks that all information and functionality remain available without any horizontal scrolling. You get the same width by zooming a 1,280 px window to 400%, which then displays the equivalent of 320 CSS pixels: this is the method suggested by WCAG. A site with responsive design often passes this test without effort; fixed toolbars and fixed-width blocks, much less so. In WCAG 2.2, this is success criterion 1.4.10 Reflow (Level AA).

The criterion has particular cases: content whose layout requires two dimensions to be understood or used, such as images, graphs or videos, games, presentations, data tables and interfaces that need a horizontal scroll bar. On mobile (Android, iOS), most browsers do not handle reflow correctly when zooming, so the criterion is considered not applicable there.

Testing in five minutes

  1. In Firefox, press Alt to show the menu bar, open View, Zoom, and check “Zoom Text Only”. Zoom to 200%: you are testing text zoom for criterion 10.4.
  2. Uncheck the option and zoom to 200% again: you are testing full-page zoom, still for criterion 10.4.
  3. Reduce the window to 320 px wide, or set it to 1,280 px and zoom to 400%: this is the test for criterion 10.11.
  4. At each step, go through the page, open the menu, fill in a form: nothing should disappear or overlap.

Our advice

Test zoom from the mock-up stage. Never block zoom on mobile with user-scalable=no or maximum-scale=1 in the <meta name="viewport"> tag. And when content needs two dimensions, such as a graph or a data table, check the particular cases of criterion 10.11 before concluding that something does not comply.

Sources

Leave a Reply

Every comment is reviewed before it is published. Your email address will not be published. Fields marked with an asterisk (*) are required. See the privacy policy.

Read also