VGAR Page Requirements
Page
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)
- Run an HTML automated validation tool on the page
- Check the page for the presence of a valid docypte declaration
Related Content
WCAG Success Criteria
W3C Techniques
Common Failures
These materials and steps outlined on this website are provided “AS IS” and are intended for illustrative purposes only. They should not be relied upon for marketing, legal, tax, financial, regulatory or other advice. You are responsible for the legal aspects of any implementation of the concepts illustrated herein. Further, Visa neither makes any warranty or representation as to the completeness or accuracy of this information, nor assumes any liability or responsibility that may result from reliance on such information. You should not act or rely on such content without seeking the advice of a professional. All brand names, logos and/or trademarks are the property of their respective owners, are used for identification purposes only, and do not necessarily imply product endorsement or affiliation with Visa.