WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Can HTML tagged content conform to WCAG 2.0 without <body>, etc?

for

From: Andrew Kirkpatrick
Date: Apr 21, 2015 1:03PM


> I disagree with you here; the wording of the criteria makes reference to 'specifications'. There is no way to determine if a tag is complete or is nested correctly or requires an end tag without reference to a specification. In HTML the way the specification used is identified is via the doctype.

Sure, and without the DOCTYPE the user agent makes assumptions and the author would need to verify the behavior against what gets presented to the user and to AT. It's more work for the author to prove conformance, but not impossible (especially if the page has only one element in it).

4.1.1 Parsing: In content implemented using markup languages, 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. (Level A)

AWK