Skip to content

Commit

Permalink
♿️ Add accessible names to nav elements (#3179)
Browse files Browse the repository at this point in the history
* ♿️ Add accessible names to nav elements

---------

Co-authored-by: Nathan Knowler <[email protected]>
  • Loading branch information
retlehs and knowler authored Jan 18, 2024
1 parent c841a02 commit 0365fb2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/partials/comments.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</ol>

@if ($paginated)
<nav>
<nav aria-label="Comment">
<ul class="pager">
@if ($previous)
<li class="previous">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/content-page.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@php(the_content())

@if ($pagination)
<nav class="page-nav">
<nav class="page-nav" aria-label="Page">
{!! $pagination !!}
</nav>
@endif
2 changes: 1 addition & 1 deletion resources/views/partials/content-single.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@if ($pagination)
<footer>
<nav class="page-nav">
<nav class="page-nav" aria-label="Page">
{!! $pagination !!}
</nav>
</footer>
Expand Down

0 comments on commit 0365fb2

Please sign in to comment.