♿️ 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:
@@ -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">
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user