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

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

From: John Bilicki III <jabcreations@hotmail.com>
Date: Sat, 20 Sep 2014 17:40:56 -0400
Message-ID: <BLU184-W27018A3BB0F021199680BDDCB50@phx.gbl>
To: "www-validator@w3.org" <www-validator@w3.org>
    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 00:17:10 UTC

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