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-02 23:44:00 +02:00
parent 36674dc2ab
commit 52890754ed

View file

@ -35,6 +35,9 @@ h1 {
font-style: normal; font-style: normal;
font-style: normal; font-style: normal;
} }
.backlink {
text-align: center;
}
.backlink a { .backlink a {
font-size: 10px; font-size: 10px;
text-decoration: none; text-decoration: none;
@ -200,7 +203,7 @@ a {
<nav id="page_nav" role="navigation"><% page_navigation %></nav> <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> <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 /> <br /><br />
</body> </body>
</html> </html>