WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: Steve Faulkner
Date: Apr 21, 2015 2:12PM


From Understanding WCGA 2.0 Parsing:

Since repair techniques vary among user agents, authors cannot assume that
> content will be accurately parsed into a data structure or that it will be
> rendered correctly by specialized user agents, including assistive
> technologies, unless the content is created according to the rules defined
> in the formal grammar for that technology. In markup languages, errors in
> element and attribute syntax and failure to provide properly nested
> start/end tags lead to errors that prevent user agents from parsing the
> content reliably. Therefore, the Success Criterion requires that the
> content can be parsed using only the rules of the formal grammar.
>
http://www.w3.org/TR/UNDERSTANDING-WCAG20/ensure-compat-parses.html

Reads pretty clear cut to me, as without a conforming doctype, a document
will not be parsed by user agents "using only the rules of the formal
grammar"

--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>;

On 21 April 2015 at 20:50, Duff Johnson < <EMAIL REMOVED> > wrote:

> > On Apr 21, 2015, at 14:47, Andrew Kirkpatrick < <EMAIL REMOVED> >
> wrote:
>
> >> Ah, so doctype would be required for WCAG 2.0 if it resolves
> ambiguities, but not because it's required by the HTML specification?
> >
> > That's correct.
>
> Thank you for the clarification.
>
> Is this a generalizable point?
>
> Would you say that metadata (<!DOCTYPE> being an example of such) which
> resolves ambiguities in content is required for WCAG 2.0 conformance
> generally?
>
> Duff.
> > > > >