Techniques for WCAG 2.0

On this page:

-

# G172: Providing a mechanism to remove full justification of text

## Applicability

All technologies.

This technique relates to:

- Success Criterion 1.4.8 (Visual Presentation)
  - How to Meet 1.4.8 (Visual Presentation)
  - Understanding Success Criterion 1.4.8 (Visual Presentation)

## Description

The objective of this technique is to provide a version of the page that does not have full justification (justified both left and right).

There may be circumstances when for layout purposes an author may want to have the text fully justified. In these cases, it is sufficient to provide a feature that removes the justification of text. The control should be easy to find and access and near the beginning of the page.

Note: This technique can be used in combination with a style switching technique to present a page that is a conforming alternate version for non-conforming content. Refer to C29: Using a style switcher to provide a conforming alternate version (CSS) and Understanding Conforming Alternate Versions for more information.

## Examples

### Example 1

A classic novel online is on a site that attempts to duplicate the look of the originally published work, which includes full justification. A button is provided near the top of the page saying "remove full justification" and a style switching technique is used to swap out the style sheet. The new style sheet aligns the text only on the left.

## Related Techniques

- C19: Specifying alignment either to the left OR right in CSS

## Tests

### Procedure

1. Open a page with full justification.

2. Check that there is a feature to remove the full justification.

3. Check that the feature removes the full justification.

### Expected Results

- Checks #2 and #3 are true.

- Top
- Contents
- Intro
- Previous: Technique G171
- Next: Technique G173