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

Steve Faulkner <[email protected]>
Newsgroups gmane.org.w3c.validator
Message-ID <CA+ri+Vn_6AyQPj4hWhfTF4=Q7jLf0RkOaWOFsRdmT1-L_AD_cA@mail.gmail.com>
>
> 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 <[email protected]>
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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.