Line Length

From Low Vision Accessibility Task Force

SC Shortname

Line Length

SC Text

For the visual presentation of all text, a mechanism is available such that line length is user adjustable, to 25 characters, with no two-dimensional scrolling required, and with the following exceptions.

  1. If the user-agent fits the layout to the view port, and does not provide a means of re-flowing content, then two-dimensional scrolling is exempt.
  2. If the spatial layout of text is essential to its use, then two-dimensional scrolling is exempt.

Suggested Priority Level

Level A

Related Glossary additions or changes

Formal Definition scrolling dimension:


When a document has content boundaries in one direction (horizontal or vertical but not both) then the scrolling method is one-dimensional.


When document has content boundaries in two directions (both horizontal and vertical) then the scrolling method is two-dimensional.


Reason for defining one and two dimensional scrolling.


Documents usually do not fit on one screen or window. This means the document has content boundaries and scrolling is needed to bring material into view. The direction of scroll is perpendicular to the direction of content boundaries. Thus, horizontal boundaries (found in many web pages) require vertical scrolling and (vertical boundaries used by many book readers) require horizontal scrolling. When the boundaries define two special dimensions the scrolling is two-dimensional. Screen magnifiers in both full screen mode and virtual lens mode require two-dimensional scrolling, because content boundaries are both vertical and horizontal. When we view the problem this way, the concept is independent of the reading direction of the language (right-left, or top-bottom).

What Principle and Guideline the SC falls within.

Principle 1, Guideline 1.4.8 Visual Presentation

Description

The user can pick the length of lines to fit reading needs. Many user agents already support this using reflow and adjustable viewport size.


25 char lines in HTML


This shows how a line length can be shortened by reducing the browser width. The page has been reflowed using a custom style sheet made available through a browser extension.


25 char lines in PDF


The same works with reflowed PDF.


Character count was chosen as a metric to measure line length because a character count enables line-length control for both large print with normal width, and narrow columns with normal print. The number 25 was chosen to fall in a range above the length of larger words in most languages. (Distribution of word lengths in various languages.) This reduces excessive hyphenation. On a 13-inch monitor, one can use 33 point font and fit in 25 characters. Character count size is [72*(13*cos(30))/25].

Benefits

For many people, with and without disabilities, it is harder to read very long lines of text than shorter lines. For people with a small field of vision, it can be even more difficult to read long lines of text, and from the end of a line of text, to find the beginning of the next line.

People with good visual acuity yet small field of vision might want to set the text size small and the text area narrow so they can get more characters in their field of vision.

User Need: Users can set the line length for blocks of text. Often the easiest way to do this (for developers, designers, and users) is for users to resize text areas and the text rewraps to change the line length.

Source: Accessibility Requirements for People with Low Vision, Section 3.2.3

Testability

  1. For HTML: Use a browser with an adjustable view port. Resize the view port so the line length is 25 characters or fewer. If the lines of text word wrap appropriately, the test passes.
  2. For PDF: Using a user agent that enables reflow and resizing of the view port, reflow the content. Then, adjust the line length to 25 characters or fewer. If the lines of text word wrap appropriately, the test passes.

Note: Each line of text does not have to reach a length of 25 characters, but line length must not exceed 25 characters.

Techniques

Existing Techniques

New Techniques

  • Using relative measurements so line length can be adjusted to 25 characters, with no two-dimensional scrolling. (Future Technique)

Related Information

Actions

Articles

  • Line length - Education and Outreach Working Group Tutorial

Email

GitHub

Minutes

Surveys

Resolutions

Wiki Pages