The alt text for images that are part of links should not be the same as the text content of the link.
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.
Associated Accessibility Guidelines and Standards
|IITAA||9.1 Ensure that links are understandable out of context.||Required||Violation|
|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|
- Testing links using Fangs
- Using WAVE to Test Accessibility of Links
- Testing for Links using the Functional Accessibility Evaluator
- Testing Links Using WAVE Toolbar