mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Add aria-hidden to the pagination arrows
Pagination arrows seem to be an appropriate place to use aria-hidden. That is the use-case for bootstrap (http://getbootstrap.com/components/#aligned-links) and based upon my understanding of area seems to be correct.
This commit is contained in:
parent
67129fe2cf
commit
1ddea6dbc1
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
<nav class="pagination" role="navigation">
|
<nav class="pagination" role="navigation">
|
||||||
{{#if prev}}
|
{{#if prev}}
|
||||||
<a class="newer-posts" href="{{page_url prev}}">← Newer Posts</a>
|
<a class="newer-posts" href="{{page_url prev}}"><span aria-hidden="true">←</span> Newer Posts</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<span class="page-number">Page {{page}} of {{pages}}</span>
|
<span class="page-number">Page {{page}} of {{pages}}</span>
|
||||||
{{#if next}}
|
{{#if next}}
|
||||||
<a class="older-posts" href="{{page_url next}}">Older Posts →</a>
|
<a class="older-posts" href="{{page_url next}}">Older Posts <span aria-hidden="true">→</span></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Add table
Reference in a new issue