E-mail List Archives
Re: Can HTML tagged content conform to WCAG 2.0 without <body>, etc?
From: Patrick H. Lauke
Date: Apr 21, 2015 1:09PM
- Next message: Duff Johnson: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Previous message: Andrew Kirkpatrick: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Next message in Thread: Duff Johnson: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Previous message in Thread: Andrew Kirkpatrick: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- View all messages in this Thread
On 21/04/2015 19:43, Steve Faulkner wrote:
> 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.
Also not forgetting the MIME type that a resource is sent as...so, even
in absence of a <!DOCTYPE>, having something sent as text/html is
usually enough to make the browser interpret it as HTML. Plus, most
(all?) browsers will, as a last resort, do some basic pattern matching
("does it end in .htm or .html?").
Getting back to the original question, I'd say that a document doesn't
necessarily have to validate, but follow general "well-formedness" (if
you pardon me borrowing from XML here), for the most part.
P
--
Patrick H. Lauke
www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
- Next message: Duff Johnson: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Previous message: Andrew Kirkpatrick: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Next message in Thread: Duff Johnson: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- Previous message in Thread: Andrew Kirkpatrick: "Re: Can HTML tagged content conform to WCAG 2.0 without , etc?"
- View all messages in this Thread