Rule TITLE-7
The text content of an h1 element should not only come from the alt attribute of img elements.

Description

Best Practice Type: Pass/Warning

The text content of an h1 element should not only come from the alt attribute of img elements.

Notes

*CSS should be used to style the text content of h1 elements, not images.

Markup

img[alt] (HTML4)

Using images to covery text content makes it difficult for people with visual impairments to restyle text content to their own needs, therefore images should not be used to style text content, use CSS instead.

Associated Accessibility Guidelines and Standards

Guideline or
Standard
Requirement Priority Test
Type
IITAA 1.3 Provide meaningful page titles. Desirable Violation
1.4 Use headings to introduce sections and sub-sections, and use them in the correct order. Required Violation
Section 508 1194.22 (o) A method shall be provided that permits users to skip repetitive navigation links. Required Violation
WCAG 1.0 3.5 Use header elements to convey document structure and use them according to specification. Required Violation
WCAG 2.0 2.4.2 Page Titled Required Violation
2.4.6 Headings and Labels Required Violation

Examples

Evaluation Techniues

Testsuite Tests