Utilisation de la balise <nav> pour indiquer les menus

Utilisation de la balise HTML5 <nav> à la place de <div> pour indiquer les menus. Sa valeur sémantique est forcée à role="navigation" comme préconisé par http://www.w3.org/TR/2013/WD-aria-in-html-20130214/#recommendations-table .
This commit is contained in:
Sylvhem 2013-10-05 21:57:25 +02:00
parent d65d500519
commit 774fdd542a

View file

@ -168,7 +168,7 @@ a {
<h1><% title %></h1> <h1><% title %></h1>
<% messages %> <% messages %>
<p class="credits"><em>by: </em><% author %></p> <p class="credits"><em>by: </em><% author %></p>
<span id="breadcrumb_nav"><% breadcrumb_navigation %></span> <nav id="breadcrumb_nav" role="navigation"><% breadcrumb_navigation %></nav>
</header> </header>
<br /><br /> <br /><br />
<section id="container"> <section id="container">
@ -178,7 +178,7 @@ a {
</ul> </ul>
</section> </section>
<br /> <br />
<div id="page_nav"><% page_navigation %></div> <nav id="page_nav" role="navigation"><% page_navigation %></nav>
<br /> <br />
<!-- CREDITS - DO NOT REMOVE OR YOU WILL VOID MiniGal Nano TERMS OF USE --> <!-- CREDITS - DO NOT REMOVE OR YOU WILL VOID MiniGal Nano TERMS OF USE -->
<div class="backlink" align="center"><a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">Powered by MiniGal Nano <% version %></a></div> <div class="backlink" align="center"><a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">Powered by MiniGal Nano <% version %></a></div>