️ Add accessible names to nav elements (#3179)

* ️ Add accessible names to nav elements

---------

Co-authored-by: Nathan Knowler <nathan@knowler.me>
This commit is contained in:
Ben Word
2024-01-18 13:18:02 -06:00
committed by GitHub
parent c841a02361
commit 0365fb2515
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
</ol>
@if ($paginated)
<nav>
<nav aria-label="Comment">
<ul class="pager">
@if ($previous)
<li class="previous">

View File

@@ -1,7 +1,7 @@
@php(the_content())
@if ($pagination)
<nav class="page-nav">
<nav class="page-nav" aria-label="Page">
{!! $pagination !!}
</nav>
@endif

View File

@@ -13,7 +13,7 @@
@if ($pagination)
<footer>
<nav class="page-nav">
<nav class="page-nav" aria-label="Page">
{!! $pagination !!}
</nav>
</footer>