mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
1ddea6dbc1
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.
10 lines
394 B
Handlebars
10 lines
394 B
Handlebars
<nav class="pagination" role="navigation">
|
|
{{#if prev}}
|
|
<a class="newer-posts" href="{{page_url prev}}"><span aria-hidden="true">←</span> Newer Posts</a>
|
|
{{/if}}
|
|
<span class="page-number">Page {{page}} of {{pages}}</span>
|
|
{{#if next}}
|
|
<a class="older-posts" href="{{page_url next}}">Older Posts <span aria-hidden="true">→</span></a>
|
|
{{/if}}
|
|
</nav>
|