0.46.0
Changelog
Components

Pager

The pager is the simpler default pager style pagination.

The disabled c-pager__link should have no href attribute on it. The 'previous' and 'next' should also have no href attribute if there are no further pages to go to. When there is a link for a pager item, then an <a> tag with a href and link should be used for the c-pager__link class.

.c-pager--aligned
Aligned pager links
<nav class="c-pager [modifier class] js-pager">
  <ul class="c-pager__list">
    <li class="c-pager__item c-pager__item-previous is-disabled"><a class="c-pager__link"><span aria-hidden="true">&larr;</span> Previous</a></li>
    <li class="c-pager__item c-pager__item-next"><a href="#0" class="c-pager__link">Next <span aria-hidden="true">&rarr;</span></a></li>
  </ul>
</nav>