Accessibility Examples
Test Start
This paragraph has invalid lang="em" attribute
This paragraph has an empty lang attribute
Test End
Rule References
| Rule | Pass IDs | Fail IDs |
|---|---|---|
| Rule 35 | none |
|
Calculations
No calculations for test 97
Test Description
- This test has two paragraph tags with LANG attributes.
* The LANG attribute of the first paragraph is invalide (lang=‘em’).
* The LANG attribute of the second paragraph is empty.
Test Markup
- HTML4: [lang]
User Agent Implementation
No user agent implementation information.
HTML Source Code
<div class="wrapper">
<p id="id1" lang="em">This paragraph has invalid lang="em" attribute</p>
<p id="id2" lang="">This paragraph has an empty lang 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 */
}