WebAIR

Do you provide controls on the webpage that allow users to change the size of the text up to 200 percent? (TXT15)

Why is this important?

Whilst most browsers allow the user to adjust the size of text, not everyone knows how to do this, so it is helpful to make the text easy to read without adjustment. To provide the user with greater control over the size of text, one option is to provide a control within the webpage that allow the user to adjust the size of the text. Such controls might directly adjust the CSS of specific elements or load in a different style sheet altogether. Another option is to provide a link to an alternative version of the webpage that has sufficient text size.

How to fix the problem

Provide a control at the top of the webpage that allows the user to increase the size of the text on the webpage. This could be achieved using JavaScript, to adjust the CSS style attributes of the elements on the webpage. A more robust solution would be to use a PHP style sheet switcher to swap the style sheet completely, without relying on the user having JavaScript enabled. Alternatively, simply provide a link to a version of the webpage that has sufficient text size.

Example

No example is available.

Further Information

  1. http://www.smashingmagazine.com/2008/06/05/style-switchers-are-back-ideas-examples-and-a-contest/
  2. http://www.netmagazine.com/tutorials/switch-styles-css
  3. http://www.cssnewbie.com/simple-jquery-stylesheet-switcher/
  4. http://www.webdesign.org/web-programming/php/stylesheet-switcher.9117.html