- From: Michael A. Peters <mpeters@domblogger.net>
- Date: Thu, 19 Feb 2015 16:28:20 -0800
- To: WAI Interest Group <w3c-wai-ig@w3.org>
Hello, If this is the wrong list for support I apologize. I am using http://www.evaluera.co.uk/ A-Tester to identify parts of my site that need to be fixed. An error I am confused about-- `The main element has an h1 element or header element as a direct child.' This is the basic structure of my body <body> <header><!-- stuff --></header> <div id="container"> <div id="leftcol"><!-- stuff --></div> <main id="content"> <article> <h1>First heading</h1> <!-- stuff --> <section> <h2>Another Heading</h2> </section> <!-- etc. --> </article> </main> <div id="rightcol"><!-- stuff --></div> </div> <footer><!-- stuff --></footer> </body> Before the main element, I would just put role="main" in the article node but I have been informed that is now correct. Am I using main correctly or am I not understanding its purpose?
Received on Friday, 20 February 2015 00:28:47 UTC