Utilisation de la balise <footer> pour indiquer le pied de page

Utilisation de la balise HTML5 <footer> à la place de <div> pour indiquer le pied de page. L'attribut WAI-ARIA role="contentinfo" l'identifie comme étant le pied de page principal.
Le CSS a été modifié en conséquence.
This commit is contained in:
Sylvhem 2013-09-27 15:17:24 +02:00
parent 7a8edd4715
commit 75011861a8
1 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,9 @@ h1 {
.credits em {
color: #999;
}
.backlink {
text-align: center;
}
.backlink a {
font-size: 10px;
text-decoration: none;
@ -152,7 +155,7 @@ a {
<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>
<footer class="backlink" role="contentinfo"><a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">Powered by MiniGal Nano <% version %></a></footer>
<br /><br />
</body>
</html>