Accessibility Examples
Test Start
Page contains non-empty H1 elements
Test End
Rule References
| Rule | Pass IDs | Fail IDs |
|---|---|---|
| Rule 14 |
|
none |
Calculations
No calculations for test 36
Test Description
- This test contains two non-empty H1 elements.
Test Markup
- HTML4: h1
User Agent Implementation
No user agent implementation information.
HTML Source Code
<div class="wrapper">
<h1 id="id1">Page contains non-empty H1 elements</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;
}