Rule IMGDEC-2
* Small inline images should not be used for styling.

Description

Best Practice Type: Pass/Warning

  • 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.

Notes

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

Markup

none

Associated Accessibility Guidelines and Standards

Guideline or
Standard
Requirement Priority Test
Type
IITAA 1.1 Use valid, standard web programming code. Desirable Violation
Section 508 1194.22 (a) A text equivalent for every non-text element shall be provided (e.g., via "alt", "longdesc", or in element content). Required Violation
WCAG 1.0 11.1 Use W3C technologies when they are available and appropriate for a task and use the latest versions when supported. Required Violation
WCAG 2.0 1.1.1 Non-text Content Required Violation

Examples

Evaluation Techniues

Testsuite Tests

none