WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: Duff Johnson
Date: Apr 21, 2015 10:21AM


Question for the WAI / HTML gurus=E2=80=A6

Imagine a .html file including only the following content:

<p>Some text</p>

(I=E2=80=99ve attached such a file in the hope that the server may allow =
it to the list)

To be clear.. this file does *not* include <doctype, <body>, etc. If it =
doesn=E2=80=99t comply with WCAG; why not?

Thanks,

Duff.