XML technologies / CSS / Advanced websites with CSS / Fixed-width layouts / Zoom layouts
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
Before closing this chapter, consider a technique that greatly improves accessibility for users with various impairments: one or more alternative stylesheets change the page’s appearance to suit their needs.
Accessibility often makes us think only of text browsers or screen readers. Semantic HTML and CSS separation of content and design help those users understand and use our pages, but they are far from the only people we can help by addressing accessibility.
Many more people have poor vision without being completely blind or using screen readers. They still need help reading web text, often using screen magnifiers to enlarge page elements. Their needs differ from screen-reader users: they can see layouts and benefit from diagrams, images and other visual elements when magnified. They do not want text-only pages that remove images; they just need larger images to understand them. Many layouts, however, lose entire text columns off-screen when enlarged, making them hard to find.
Knowing CSS layout, we can offer an extra stylesheet tailored to these users. Such “zoom” layouts target people who enlarge web pages. Accessibility expert Joe Clark explains the technique clearly and thoroughly on his website. We will briefly examine what a zoom version of our fixed layout requires.
Zoom layouts must meet these requirements:
Text must be resizable.
Use light text on a dark background, which is easier for visually impaired users to read.
Reorganize all content into a single column so users do not miss parts that have disappeared off-screen.
Create an alternative zoom stylesheet for the layout with the floating left column. The next figure shows the intended result. It is less attractive than the original but much easier for its target users to read.
Figure: The intended zoom layout.
Copyright © 2006 of the German translation, dpunkt.verlag GmbH
You may print the online version for your private use.
Otherwise, this chapter from “CSS − Anspruchsvolle Websites mit Cascading Stylesheets” is subject to the same conditions as the bound edition: the work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
dpunkt.verlag GmbH, Ringstraße 19, 69115 Heidelberg
back to top