Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>HTML errors as such do not count as a violation of WCAG 2.0, though for various constructs, WCAG 2.0 may impose requirements that coincide with requirements in HTML specifications.</p> <p>If WCAG 2.0 required conformance to HTML specifications, it would have to cite normatively some specific version(s) of some specific HTML specification(s) (thereby causing harmful rigidity) <em>or</em> use loose language, making WCAG 2.0 itself a very moving target (its content would vary, as HTML specifications are changed).</p> <p>However, <a href="http://www.w3.org/TR/WCAG20/#ensure-compat">Guideline 4.1</a> (Compatible: Maximize compatibility with current and future user agents, including assistive technologies) requires that “elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features”.</p> <p>In this sense, <em>some</em> syntactic rules need to be obeyed in order to conform to WCAG 2.0. The scope of this requirement is rather vague, since HTML rules vary by language version, and the wording is somewhat strange an arbitrary-looking. For example, it does not forbid undefined elements, undefined attributes, attribute values that violate (some) HTML specifications, or anything that might be classified as “semantically wrong”. It is far from evident whether e.g. <code>&lt;a href=...&gt;&lt;h2&gt;...&lt;/h2&gt;&lt;/a&gt;</code> would violate WCAG 2.0: it is invalid nesting according to HTML 4 but allowed in HTML5 CR.</p> <p>This differs from WCAG 1.0, which had a a general requirement about <a href="http://www.w3.org/TR/WCAG10/#gl-use-w3c">using W3C technologies</a> and specifically avoiding deprecated HTML features. It is fair to assume that the change is intentional: WCAG 2.0 conformance criteria intentionally do not include conformance to some HTML specification(s)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload