️ 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> </ol>
@if ($paginated) @if ($paginated)
<nav> <nav aria-label="Comment">
<ul class="pager"> <ul class="pager">
@if ($previous) @if ($previous)
<li class="previous"> <li class="previous">

View File

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

View File

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