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:

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.

The intended zoom layout

Figure: The intended zoom layout.

  

  

 

 

 

back to top