Decorative Image Rules

Markup

img[alt] (HTML4)

Rules

Rules for Decorative Image
# Testing Description Implementation
FAE Firefox
Accessibility
Extension
IMGDEC.1 Pass/Warning IMGDEC.1

Images should not be used for styling

Requirement Notes

  • Each img element with an empty alt attribute should be removed and CSS techniques should be used provide the graphical styling effects.
1.0 1.5
IMGDEC.2 Pass/Warning IMGDEC.2
  • Small inline images should not be used for styling.

Requirement Notes

  • Each img element with width or height less than 8 pixels should be removed and CSS techniques should be used instead to provide the graphical styling.

Implementation Notes

  • This rule does not apply to images that are part of link content.
NI 1.5