Rule IMGINFO-1
Every img element must have alt attribute.

Description

Best Practice Type: Pass/Fail

Every img element must have alt attribute.

Markup

img[alt] (HTML4)

area[alt] (HTML4)

Associated Accessibility Guidelines and Standards

Guideline or
Standard
Requirement Priority Test
Type
IITAA 4.1 Provide appropriate "alternate text" for all images. Required 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 1.1 Provide a text equivalent for every non-text element (e.g., via "alt", "longdesc", or in element content). This includes: images, graphical representations of text (including symbols), image map regions, animations (e.g., animated GIFs), applets and programmatic objects, ascii art, frames, scripts, images used as list bullets, spacers, graphical buttons, sounds (played with or without user interaction), stand-alone audio files, audio tracks of video, and video. Required Violation
WCAG 2.0 1.1.1 Non-text Content Required Violation

Examples

Evaluation Techniues

Testsuite Tests

none