E-mail List Archives
Re: Can HTML tagged content conform to WCAG 2.0 without <body>, etc?
From: Steve Faulkner
Date: Apr 21, 2015 11:13AM
- Next message: Jared Smith: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Previous message: Duff Johnson: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Next message in Thread: Jared Smith: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Previous message in Thread: Duff Johnson: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- View all messages in this Thread
<p><p>
throws 2 errors when tested using http://validator.w3.org/nu/
*Error*: Start tag seen without seeing a doctype first. Expected e.g. <!DOCTYPE
html>.
*Error*: Element head is missing a required instance of child element title.
the first error is a failure of 4.1.1 Parsing
<http://www.w3.org/TR/WCAG20/#ensure-compat-parses>
Also note as the document does not define a default language its a failure
of 3.1.1 language of page <http://www.w3.org/TR/WCAG20/#meaning-doc-lang-id>
--
Regards
SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
On 21 April 2015 at 18:03, Duff Johnson < <EMAIL REMOVED> > wrote:
> > It isn't best practice for HTML development but I'd say that while the
> file meets most success criteria it would fail 2.4.2 (Page titled) as the
> HTML element needed to provide a title is absent.
>
> I'm not sure how missing a <title> affects the accessibility of the file
> per se (it seems more like a usability issue rather than a Level A
> accessibility concern), but I certainly accept that it's a violation of
> 2.4.2 as written - thanks.
>
> > HTML5 allows the body element to be omitted in some circumstances, and
> this file would be one such example.
>
> What about <doctype>? It's missing as well…
>
> Essentially what I'm getting at is: what's the minimum required for
> (notionally) HTML content in order to meet WCAG 2.0?
>
> Thanks,
>
> Duff.
> > > > >
- Next message: Jared Smith: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Previous message: Duff Johnson: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Next message in Thread: Jared Smith: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Previous message in Thread: Duff Johnson: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- View all messages in this Thread