Skip to content

Commit

Permalink
fix: added English aria labels for prev/next pagination buttons (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpunktschmitz committed Jan 6, 2022
1 parent 69e2f1f commit c610dad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{ if .Paginator.HasPrev }}
<li class="page-item">
<a class="page-link" href="{{ .Paginator.Prev.URL }}">
<i class="fa fa-angle-left" aria-label="上一页"></i>
<i class="fa fa-angle-left" aria-label="Previous"></i>
</a>
</li>

Expand Down Expand Up @@ -44,7 +44,7 @@
{{ if .Paginator.HasNext }}
<li class="page-item">
<a class="page-link" href="{{ .Paginator.Next.URL }}">
<i class="fa fa-angle-right" aria-label="下一页"></i>
<i class="fa fa-angle-right" aria-label="Next"></i>
</a>
</li>

Expand Down

0 comments on commit c610dad

Please sign in to comment.