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-09-02 23:38:06 +02:00
parent 5dfbfe9bbc
commit 36674dc2ab

View file

@ -185,7 +185,7 @@ a {
<h1><% title %></h1>
<% messages %>
<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>
<br /><br />
<section>
@ -197,7 +197,7 @@ a {
</div>
</section>
<br />
<div id="page_nav"><% page_navigation %></div>
<nav id="page_nav" role="navigation"><% page_navigation %></nav>
<br />
<!-- 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>