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-31 21:48:43 +01:00
parent 2dd213ffe2
commit 6ef7a123c4

View file

@ -159,7 +159,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>
<section id="container"> <section id="container">
<div id="folder_comment"><% folder_comment %></div> <div id="folder_comment"><% folder_comment %></div>
@ -168,7 +168,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 -->
<hr id="bottom" /> <hr id="bottom" />