Exclusive CSS formatting

Impact: Strong to major

Users mainly impacted: Visually impaired.

RGAA criteria: Criterion 10.1

Explanation

Some people with a visual impairment need to customize the display. For example, to be able to read the content, the user can increase the contrast of background and text colors, the size of the fonts… If the content is not fully formatted by CSS, it may be unreadable.

Important

All formatting attributes are prohibited (align, alink, background, bgcolor, border, cellpadding, cellspacing, char, charoff, clear, compact, color, frameborder, hspace, link, marginheight, marginwidth, text, valign, vlink, vspace, size).
width and height are only allowed on elements <img>, <svg>, <object>, <embed> and <canvas>.

Important

the elements <basefont>, <blink>, <center>, <font>, <marquee>, <s>, <strike>, <tt> and <big> are prohibited.

Important
  • Spaces are not used to separate the letters of a word.
  • Spaces are not used to simulate tables.
  • Spaces are not used to simulate text columns.