Accessibility Examples
Test Start
The following heading contains additional text beyond the image alt text:
Heading
Test End
Rule References
| Rule | Pass IDs | Fail IDs |
|---|---|---|
| Rule 15 |
|
none |
Calculations
No calculations for test 40
Test Description
- This test contains one h1 headings with text content from the image alt text and additional text.
Test Markup
- HTML4: h1
- HTML4: img[alt]
User Agent Implementation
No user agent implementation information.
HTML Source Code
<div class="wrapper">
The following heading contains additional text beyond the image alt text:
<h1 id="id1"><img src="http://www.oaa-acessibility.org/media/testsuite/images/functional_image.png" alt="Valid Image-Based" /> Heading</h1>
</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 */
}