Rule LINK-5
The alt text for images that are part of links should not be the same as the text content of the link.

Description

Best Practice Type: Pass/Warning

For links that include an img element and text content, the alt attribute content of the img element should not repeat the text content of the link. Images that are the used as icons to help users identify the purpose of a link should have their alt attribute set to empty or be included in the graphical rendering as a CSS background image.

Markup

none

Associated Accessibility Guidelines and Standards

Guideline or
Standard
Requirement Priority Test
Type
IITAA 9.1 Ensure that links are understandable out of context. Required Violation
Section 508 none none
WCAG 1.0 13.1 Clearly identify the target of each link. Required Violation
WCAG 2.0 1.1.1 Non-text Content Required Violation
2.4.4 Link Purpose (In Context) Required Violation
2.4.9 Link Purpose (Link Only) Required Violation

Examples

Evaluation Techniues

Testsuite Tests