Pagination
Pagination is navigation for paginated content.
Examples
Bounded
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024pxUnbounded
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024pxComponent API
Pagination is made up of the following elements:
Root
-
<nav>This element is automatically appended to the document
body, ensuring that this element always properly overlays page contents when opened. -
aria-labelDefault:
'Breadcrumb'Provide a label that describes the type of navigation provided in the nav element.
List
-
<ul>Use an
<ul>for Pagination Lists. This allows assistive technology to enumerate the items in the pagination and allows shortcuts between list items.
List Items
-
<li>Use an
<li>for Pagination List Items. This allows assistive technology to enumerate the items in the pagination and allows shortcuts between list items. -
aria-labelDefault:
'ellipsis indicating non-visible pages'When a Pagination List Item contains an Ellipsis, use an
aria-labelto describe to assistive technology the meaning of the ellipsis item.
Links
-
<a>or<span>Use an
<a>element when Pagination List Items are clickable. Every item, except Ellipsis elements, should use an<a>element.Use a
<span>element for Ellipsis elements. -
aria-current="page"Allows screen readers to communicate that the element represents a link to the current page.
Only use thearia-currentattribute on the link element describing the current page.