Rule FORM-3
The element input[type="image"] must have alt text:

Description

Best Practice Type: Pass/Fail

The element input[type=“image”] must have:

  1. alt attribute content on the form control element itself, or
  2. title attribute content on the form control element itself.

Notes

  • If both title attribute and alt attribute are specified, the title attribute will override the alt attribute.
  • The title attribute should be meaningful even when it is specified with the purpose of providing a tooltip for an image in addition to the alt attribute, as it will override the alt attribute and also be the effective label.

Markup

input[type=image] (HTML4)

Associated Accessibility Guidelines and Standards

Guideline or
Standard
Requirement Priority Test
Type
IITAA 10.1 Provide labels or titles for all form fields. Required Violation
Section 508 1194.22 (n) When electronic forms are designed to be completed on-line, the form shall allow people using assistive technology to access the information, field elements, and functionality required for completion and submission of the form, including all directions and cues. Required Violation
WCAG 1.0 12.4 Associate labels explicitly with their controls. Required Violation
WCAG 2.0 1.3.1 Info and Relationships Required Violation

Examples

none

Evaluation Techniues

Testsuite Tests