Accessibility Examples
Test Start
This image has role="presentation" (decorative) and no alt or title attribute.
Test End
Rule References
| Rule | Pass IDs | Fail IDs |
|---|---|---|
| Rule 31 |
|
none |
Calculations
No calculations for test 32
Test Description
- This test contains one decorative image that does not contain an alt or title attribute.
Test Markup
- HTML4: img[alt]
- HTML4: img[title]
User Agent Implementation
No user agent implementation information.
HTML Source Code
<div class="wrapper">
<p><img id="id1" src="http://www.oaa-acessibility.org/media/testsuite/images/decorative_image.png" role="presentation" /> This image has role="presentation" (decorative) and no alt or title attribute.</p>
</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 */
}