W3C home > Mailing lists > Public > www-validator@w3.org > September 2014

Re: 'Section lacks heading' invalid for aside/section/header

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Sun, 21 Sep 2014 10:55:44 +0100
Message-ID: <CA+ri+Vn_6AyQPj4hWhfTF4=Q7jLf0RkOaWOFsRdmT1-L_AD_cA@mail.gmail.com>
To: John Bilicki III <jabcreations@hotmail.com>
Cc: "www-validator@w3.org" <www-validator@w3.org>
>
> Validating the following generates the error 'Section lacks heading'...


it is a 'warning' not an error, it is not a MUST requirement its a SHOULD

It seems more logical to accept the generic 'header' element as a valid
> header for sidebar section elements.
>

header [1] is not a generic heading [2], it has a different meaning , for
example header does not contribute to the document outline, and different
accessibility layer semantics <hx> = heading <header> = banner when scoped
to <body>.


[1]
http://www.w3.org/html/wg/drafts/html/master/sections.html#the-header-element
[2]
http://www.w3.org/html/wg/drafts/html/master/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements


--

Regards

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

On 20 September 2014 22:40, John Bilicki III <jabcreations@hotmail.com>
wrote:

>  Greetings,
>
> Validating the following generates the error 'Section lacks heading'...
>
> ____________________________________________________________
> <!DOCTYPE html>
> <html>
> <head>
> <title>XHTML5 Test</title>
> </head>
>
> <body>
>
> <main><article><p>...</p></article></main>
>
> <aside>
> <section>
> <header><span>Search Website...</span></header>
> <div><span>The sidebar, <em>not</em> to be inside an article
> element.</span></div>
> </section>
>
> </body>
> </html>
>
> ____________________________________________________________
>
> It seems more logical to accept the generic 'header' element as a valid
> header for sidebar section elements.
>
> John Bilicki
>
Received on Sunday, 21 September 2014 09:56:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:11 UTC