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-27 15:14:18 +02:00
parent b87fe4d2a5
commit 7a8edd4715

View file

@ -140,7 +140,7 @@ a {
<header role="banner"> <header role="banner">
<h1><em><% title %></em></h1> <h1><em><% title %></em></h1>
<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>
<section id="container"> <section id="container">
<div id="folder_comment"><% folder_comment %></div> <div id="folder_comment"><% folder_comment %></div>
@ -149,7 +149,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>