Pagination takes you to the pages of a long list, each with its own URL. Seven fixed places that don’t jump when the page changes, and the current page always in view.
When you look for a page: the list is long, it has an order and every page can be shared.
If you need
Use
Never
Many pages of a list, each with its own URL
Pagination
“Load more” where you look for a page.
A table’s pages
The table’s footer: it’s the same one, in its simple form
A second pagination.
The sections of an area
Tab navigation
Numbered pages.
The articles’ pages, live: they change in place, screen readers hear “Page 5 of 68” and focus stays where you touched.
Do: Pagination where you look for a page: you see where you are and how many there are.
Don’t: “Load more” on a list where you look for a page: you lose your place and there’s no URL to share.
Seven places
Pagination is the same width on any page: what changes is what each place says.
The first, the last and the current
With their neighbors on each side. Where pages are missing, three dots.
Never dots at an end
The first and the last are always in view: from any page you reach both in one tap.
No jumps
Seven fixed places: when the page changes, nothing shifts under the pointer. With seven pages or fewer, all of them.
The same pagination on pages 1, 5, 34 and 68 of 68: the same width and the same places.
Anatomy
Part
What it is
Previous and next
The arrows at the ends, with their names for screen readers.
The numbers
Each page, with “Page” before it for screen readers.
The dots
The pages not in view. They aren’t targets.
The current page
In the theme’s action color, with its number at 500.
“Page 5 of 68”
The short and simple forms: where you are and how many there are.
Sizes
Size
Place
Type
Where
medium
44, 4 apart; 18 arrows
15, with tabular figures
The site and the portal
small
32
13
Ops and the table footer, with a fine pointer only
The short and simple forms
Previous, “Page 5 of 68” and next: what fits at any width.
The short form comes on its own
By hand, in a narrow window (at 400 % zoom too) and wherever the seven places don’t fit in their column. Its arrows are 44.
The simple form, on purpose
With variant="simple", always short. It’s the table’s footer, next to the row range.
Clients
Client
Projects
Amount due
PLPanadería LupitaAna Vega
3 projects
$182,400
CACafé AlturaLuis Ortiz
1 project
$46,800
ENEstudio NorteMarta Ruiz
5 projects
$312,000
1–3 of 204
The simple form: on its own and in a table’s footer, in small.
States
State
How it looks
The current page
In the action color, with its number in its color.
On hover
Fill 2 behind the number.
On press
It gives to 0.95.
Previous or next with no page
Dimmed and out of the keyboard order. The first page has no previous; the last, no next.
Focus
The 2 px ring around the place.
Forced colors
The current page in Highlight, its focus in CanvasText and the arrow with no page in GrayText.
Behavior
Real links
Every page has its own URL: it opens in another tab, it can be shared and Back returns.
In place
When the list changes without loading the page, the URL changes too: Back returns to the previous page, as without JavaScript.
It’s announced and focus stays
When it changes in place, screen readers hear “Page 5 of 68” and focus stays on what you touched: the arrow or, if it no longer has a page, the current one.
Nothing hides under focus
Focus never goes to a place the short form doesn’t show.
Content
Part
How it’s written
Example
The nav’s name
The pages of what. Screen readers hear it; it isn’t shown.
“Article pages”
The arrows
Cuenca names them, in the page’s language.
“Previous page”
How many there are
Pages, not rows.
“Page 5 of 68”
Languages and direction
Its text, in both languages
“Previous page”, “Next page” and “Page 5 of 68” come with lang: «Página anterior», «Página siguiente» and «Página 5 de 68».
Figures, from the language
With over a thousand pages, the thousands separator is the page language’s.
Right to left
The list reverses and each arrow points where it goes.
Accessibility
It’s a nav with its name and a list of links; the current page is heard as the current page. It meets WCAG 2.2 AA.
Key
Where
What it does
Tab
Pagination
From one place to the next; the arrow with no page doesn’t take focus
Enter
A place
Goes to its page
Every number says what it is
Screen readers hear “Page 4”, not “4”; the arrows, “Previous page” and “Next page”.
What changes is announced
When it changes in place, “Page 5 of 68”, in the page’s live region.
It fits at any width
At 320 wide, with 400 % zoom, the short form appears: nothing leaves the page.
Measured contrast
The numbers, 7.35:1; the current page against the layer, 18.08:1, and its number, 20.48:1.
Motion and sound
Piece
What it does
Spring
With reduced motion
The list
Changes in place; nothing travels
The same
A place, on press
Gives to 0.95 and returns
drop
No scaling
No sound of its own
Changing pages doesn’t sound by itself. On the site, the click sounds like any click.