RGAA 3.0 - Rule 8.1.3
For each Web page with a document type declaration, is this declaration located before the HTML tag in the source code?
<!doctype> tag of the page
<html> tag of the page
Test whether the position of element of Set1 is before the position of element of Set2.
If Test1 returns false, raise a MessageA
- code : BadDoctypeLocation
- status: Failed
- parameter : none
- present in source : no
The doctype is declared before the
<html> tag (Test1 returns true)
The doctype is declared after the
<html> tag (Test1 returns false)
The page has no doctype (Set1)