Accessibility Examples
Test Start
Invalid Image-Based Link
The image alt text and additional text content of this link are duplicates.
Test End
Rule References
| Rule | Pass IDs | Fail IDs |
|---|---|---|
| Rule 43 | none |
|
Calculations
No calculations for test 107
Test Description
- This test contains one image-base link with image alt text that duplicates the additional link text.
Test Markup
- HTML4: a[href]
- HTML4: img[alt]
User Agent Implementation
No user agent implementation information.
HTML Source Code
<div class="wrapper">
<a href="#"><img id="id1" src="http://www.oaa-acessibility.org/media/testsuite/images/link_image.png" alt="Invalid Image-Based Link" />Invalid Image-Based Link</a>
The image alt text and additional text content of this link are duplicates.
</div>
CSS Code
div.wrapper {
margin: 20px;
padding: 10px;
overflow: visible;
background-color: #faf7f0;
border: 1px solid #880000;
-webkit-border-radius: 10px; /* Safari and Chrome rounded corners */
-moz-border-radius: 10px; /* Firefox rounded corners */
border-radius: 10px; /* Opera rounded corners */
}