knowbility
Accessibility, What NOT to do

Relative units

Guidelines

WCAG 2.0

3.4 Use relative rather than absolute units in markup language attribute values and style sheet property values.

Goals

  1. If you use relative units then your page will resize to fit individual needs.
  2. Use percentages to specify the width of tables. This refers to the percentage of the screen that the table will fill.
  3. Use percent (%), em, or the terms larger, smaller, etc. for the font-size property. This sets font-size relative to the defaults specified by the user, and allows him or her to change font sizes as needed using the browser.

Resources

previous | next