Accessibility Examples
Test Start
This page contains three H1 headings.
This heading is one too many.
Test End
Rule References
| Rule | Pass IDs | Fail IDs |
|---|---|---|
| Rule 17 |
|
|
Calculations
No calculations for test 44
Test Description
- This test contains three h1 heading elements
* The first h1 is used in the test title.
Test Markup
- HTML4: h1
User Agent Implementation
No user agent implementation information.
HTML Source Code
<div class="wrapper">
<h1 id="id1">This page contains three H1 headings.</h1>
<h1 id="id2">This heading is one too many.</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 */
}
div.wrapper h1 {
margin-left: 0 !important;
padding: 0 !important;
font-size: 2.0em !important;
}