Skip to content

Commit

Permalink
♿️ Add accessible names to nav elements
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs committed Jan 18, 2024
1 parent 8bbc14e commit 98c804e
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 navigation">
<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 navigation">
{!! $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 navigation">
{!! $pagination !!}
</nav>
</footer>
Expand Down

0 comments on commit 98c804e

Please sign in to comment.