4.1 Compatible: Maximize compatibility with current and future user agents, including assistive technologies.
Success Criteria 4.1.1 Parsing (A)
4.1 Compatible: Maximize compatibility with current and future user agents, including assistive technologies.
Success Criteria 4.1.1 Parsing (A)
4.1 Robust - Content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies.
Success Criteria 4.1.1 Parsing (A)
id attributes must be unique.
id attribute is not unique.
id attribute value must be unique.
id attribute value so it is unique.
id attribute to see if it is unique to the document.id attribute value is expected to be unique.id attribute value so it is unique.id attribute values are unique.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html xml:lang="en-US" lang="en"> <head> <title>OAC Testfile - Check #1 - Negative</title> </head> <body> <table border=1 summary="table #1 with IDs and HEADERS"> <tr> <th id="city">City</th> <th id="state">State</th> </tr> <tr> <td headers="city">Phoenix</td> <td headers="state">Arizona</td> </tr> <tr> <td headers="city">Seattle</td> <td headers="state">Washington</td> </tr> </table> <table border=1 summary="table #2 with IDs and HEADERS"> <tr> <th id="bigcity">City</th> <th id="bigstate">State</th> </tr> <tr> <td headers="city">Phoenix</td> <td headers="state">Arizona</td> </tr> <tr> <td headers="city">Seattle</td> <td headers="state">Washington</td> </tr> </table> </body> </html>
id attribute values are not unique.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html xml:lang="en-US" lang="en"> <head> <title>OAC Testfile - Check #185 - Positive</title> </head> <body> <table border=1 summary="table #1 with IDs and HEADERS"> <tr> <th id="city">City</th> <th id="state">State</th> </tr> <tr> <td headers="city">Phoenix</td> <td headers="state">Arizona</td> </tr> <tr> <td headers="city">Seattle</td> <td headers="state">Washington</td> </tr> </table> <table border=1 summary="table #2 with IDs and HEADERS"> <tr> <th id="city">City</th> <th id="state">State</th> </tr> <tr> <td headers="city">Phoenix</td> <td headers="state">Arizona</td> </tr> <tr> <td headers="city">Seattle</td> <td headers="state">Washington</td> </tr> </table> </body> </html>