Skip to main content
RAWEBA

10.1 In the website, are style sheets used to control the presentation of information?

WCAG references
  • 1.3.1 Info and Relationships (A)
  • 1.3.2 Meaningful Sequence (A)
Techniques
  • C6
  • C8
  • C18
  • C22
  • F32
  • F33
  • F34
  • F48
  • G140

Official methodology to test criterion 10.1

Test 1 (10.1.1)

  1. Check that the <basefont>, <big>, <blink>, <center>, <font>, <marquee>, <s>, <strike>, <tt> presentation elements are not present.
  2. Check for the absence of the <u> element only if the DOCTYPE of the document does not correspond to HTML 5.
  3. If this is the case, the test is validated.

Test 2 (10.1.2)

  1. Check that these presentation attributes are not present: align, alink, background, bgcolor, border, cellpadding, cellspacing, char, charoff, clear, color, compact, frameborder, hspace, link, marginheight, marginwidth, text, valign, vlink, vspace, size (with the exception of the <select> element).
  2. Check that the width and height attributes, if used, are only present on the <canvas>, <embed>, <iframe>,<img>, <object>, <source>, <svg> elements (or the children of the <svg> elements).
  3. If this is the case, the test is validated.

Test 3 (10.1.3)

  1. Disable styles (CSS) in the document.
  2. Check that no spaces are used:
    • between the letters of a word;
    • to create margin or alignment effects;
    • to simulate tables or columns.
  3. If this is the case, the test is validated.