Accessibility Examples
Test Start
This page uses scripting to modify the content of the page title to contain 60 characters.
Test End
Rule References
| Rule | Pass IDs | Fail IDs |
|---|---|---|
| Rule 24 | none |
|
Calculations
No calculations for test 56
Test Description
- This test page uses scripting to replace the title text with text that is 60 characters in length.
Test Markup
- HTML4: title
User Agent Implementation
No user agent implementation information.
HTML Source Code
<div class="wrapper">
<p>This page uses scripting to modify the content of the page title to contain 60 characters.</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 */
}
Javascript Source Code
$(document).ready(function() {
$('title').text('Title content text must contain fewer than sixty characters.');
});