Skip to content

Commit ee48632

Browse files
committed
feat (header/footer) : add aria-labels
1 parent 3b3af6d commit ee48632

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
</main>
2-
<footer id="footer" class="footer" role="contentinfo"></footer>
2+
<footer id="footer" class="footer" role="contentinfo" aria-label="Pied de page"></footer>
33
<?php wp_footer(); ?>
44
</body>
55
</html>

header.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
</li>
2929
</ul>
3030

31-
<header id="header" class="header" role="banner"></header>
31+
<header id="header" class="header" role="banner" aria-label="Entête de page"></header>
3232

33-
<main id="content" role="main" tabindex="-1">
33+
<main id="content" role="main" tabindex="-1" aria-label="Zone de contenus">
3434
<?php
3535
wp_body_open();

0 commit comments

Comments
 (0)