Simplified Web Accessibility Guide


Question 3: Are markup and style sheets used properly?

What does this mean?

Web developers may be tempted to use markup incorrectly in order to achieve a desired effect. Use markup and style sheets as they are designed to be used.

Why does this present a problem?

Using markup for a presentation effect (e.g., using a table for layout or a header to change the font size) makes it difficult for individuals using some assistive technologies to understand the organization of the page or to navigate through it. For example, when using <BLOCKQUOTE> to create visual effects, such as indentation and alignment, rather than to markup a quotation, screen readers may make it unintelligible to the user.

What are the solutions?

Priority 21. Use style sheets to stylize text

Priority 22. Validate documents to published formal grammars

Priority 23. Use style sheets to control presentation

Structural vs Presentational
  • <STRONG>
  • <EM> (emphasis)
  • <H1>…<H6> (headings)
  • <BLOCKQUOTE>
  • <UL> (unordered list)
  • <OL> (ordered list)
  • <DL> (definition list
  • <LI> (list item)
  • <B> (bold)
  • <I> (italics)
  • Style sheets

  TIP     To determine if content is structural or presentational, create an outline of the document. Each point in the hierarchy denotes a structural change. Use structural markup to mark these changes and presentational markup to make them more apparent visually.

Priority 24. Use relative rather than absolute units

Priority 25. Use headers

Priority 26. Mark up lists

Priority 27. Mark up quotations

What is the bottom line?

The bottom line, as stated in WCAG Guideline 3, is use markup and style sheets and do so properly.