_s: Use <main> element for main content.

See: http://www.w3.org/TR/html51/grouping-content.html#the-main-element

Props @BFTrick for initial patch.
Fixes #222.
This commit is contained in:
obenland 2013-07-30 12:12:45 -07:00
parent 1f15c20995
commit 810e499b93
12 changed files with 22 additions and 21 deletions

View file

@ -9,7 +9,7 @@ get_header();
?>
<div id="primary" class="content-area image-attachment">
<div id="content" class="site-content" role="main">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
@ -88,7 +88,7 @@ get_header();
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>