# VGAR Page Requirements

## Doctype (PAG-WEB-002)
### Provide a !DOCTYPE statement
Setting the correct document type allows assistive technologies to know what rules to follow while parsing. This level of formatting removes ambiguity in the parsing process and allows greater coverage across different user agents. To determine the doctype declared on the page, open the page’s source code and look for the doctype at the beginning of the HTML code.

### Requirements
#### Doctype (PAG-WEB-002-01)
A valid doctype MUST be set for all pages.

### Test Procedures
#### HTML Validator (PAG-WEB-002-01-T)
1. Run an HTML automated validation tool on the page
2. Check the page for the presence of a valid docypte declaration

### Related Content
#### WCAG Success Criteria
- [4.1.1 Parsing](http://www.w3.org/TR/UNDERSTANDING-WCAG20/ensure-compat-parses.html)

#### W3C Techniques
- [G134: Validating Web Pages](http://www.w3.org/TR/2015/NOTE-WCAG20-TECHS-20150226/G134)
- [G192: Fully Conforming to Specifications](http://www.w3.org/TR/2015/NOTE-WCAG20-TECHS-20150226/G192)
- [H88: Using HTML According to Spec](http://www.w3.org/TR/2015/NOTE-WCAG20-TECHS-20150226/H88)
- [H74: Ensuring that opening and closing tags are used according to specification](http://www.w3.org/TR/2015/NOTE-WCAG20-TECHS-20150226/H74)
- [H94: Ensuring that elements do not contain duplicate attributes](http://www.w3.org/TR/2015/NOTE-WCAG20-TECHS-20150226/H94)
- [H75: Ensuring that Web pages are well-formed](http://www.w3.org/TR/2015/NOTE-WCAG20-TECHS-20150226/H75)

#### Common Failures
- [F70: Failure of Success Criterion 4.1.1 due to incorrect use of start and end tags or attribute markup](http://www.w3.org/TR/2015/NOTE-WCAG20-TECHS-20150226/F70)
- [F77: Failure of Success Criterion 4.1.1 due to duplicate values of type ID](http://www.w3.org/TR/2015/NOTE-WCAG20-TECHS-20150226/F77)
