Technique G172:Providing a mechanism to remove full justification of text
Applicability
All technologies.
This technique relates to 1.4.8: Visual Presentation (Sufficient).
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.
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 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.
Tests
Procedure
- Open a page with full justification.
- Check that there is a feature to remove the full justification.
- Check that the feature removes the full justification.
Expected Results
- Checks #2 and #3 are true.