Valid Code (PAG-WEB-001)
Write valid HTML or at least well-formed code
Document structure and semantics are important to ensuring assistive technology (AT) properly parses code so it can communicate correct information to users. Using well-formed HTML is the first step towards ensuring the accessibility of a web page or application for AT users.
Valid Code (PAG-WEB-001-01)
All HTML pages MUST have code that is fully valid.
HTML Validator (PAG-WEB-001-01-T)
Run an HTML validator on the page and check that no errors are present. Ensure that the validator is executed against the fully rendered html for the page.
- i.e. Inspect the web page, select the entire document, select "Edit as HTML", copy and paste the rendered html page source into the W3C validator tool along with the proper doctype/etc (as applicable).