Start with a navigation pattern people can understand

Pagination divides a long set of results into smaller pages. Its controls should answer three questions: Where am I, where can I go, and what will happen when I choose a page? Imagine a product list with eight pages. A useful control might offer Previous, pages 1 through 5, Next, and a short indication that the visitor is on page 3 of 8. Someone should be able to understand that arrangement without relying on color, spacing, or the shape of an arrow.

For conventional pagination, use links to navigate to other pages. Give the group a navigation landmark with a descriptive name such as Pagination. If a page has two pagination controls, one above and one below the results, they can share that name because they serve the same purpose. Keep their destinations and current-page state consistent. Reserve buttons for actions that do not navigate to another page, such as a Load more control that appends items to the existing list.

Name page links and identify the current page

A link labeled only 4 may make sense when someone sees the entire row, but it is less helpful when heard by itself. Give numbered links accessible names such as Go to page 4. The visible number can remain brief. For the current page, use aria-current="page" on its page item so assistive technology can identify the active location. A current-page link may still point to that page; alternatively, it can be noninteractive text. Whichever approach you choose, make its state visually distinguishable without relying on color alone.

Previous and Next need readable names, not bare chevron symbols. At the first page, do not offer a Previous link that appears usable but leads nowhere. You can omit it or present it as noninteractive text if the layout benefits from a stable position. Apply the same rule to Next on the last page. If you shorten a large range with an ellipsis, treat the ellipsis as a visual indication of omitted pages, not as a mystery control.

Keep destinations and results in sync

A page link should lead to the page its name promises. For example, after choosing Go to page 4, the results and the pagination state should both reflect page 4. If the visitor has applied a search term, filter, or sort order, preserve that state when generating page destinations. Otherwise, a seemingly harmless page change can unexpectedly reset the list. When a filter changes the number of results, return to a valid page rather than leaving the visitor on an empty page beyond the new range.

For a reproducible check, set up an eight-page list in a browser and apply a filter while viewing page 3. Activate page 4, then use the browser’s Back action. Confirm that the filter, displayed results, and current-page indicator agree at each step. This check matters whether the site loads a new document or updates the list with JavaScript. It also helps reveal links that cannot be opened in a new tab or shared as a destination because the page number exists only in temporary interface state.

Make JavaScript updates predictable

When pagination loads a new document, the browser provides a familiar navigation transition. When JavaScript replaces results without a full navigation, that transition is less obvious. Keep focus predictable: do not automatically move it on every update without considering what the visitor needs next. If the focused pagination control is replaced, ensure focus does not disappear into an element that no longer exists. A results heading that says, for example, Results, page 4 of 8 can provide a clear destination if moving focus to the new content is appropriate.

An update message such as Showing page 4 of 8 can also help communicate that the action finished. Avoid announcing every item in the refreshed list or repeating the same message through several mechanisms. While results are loading, prevent duplicate requests if necessary and make the loading state understandable without turning an ordinary page change into a stream of interruptions. The goal is a single, coherent account of what changed.

Test the complete journey, not just the controls

Test with a keyboard in a desktop browser using a small list whose pages contain visibly different items. Tab to the pagination controls, confirm the focus indicator is easy to see, and activate a numbered page followed by Previous and Next. Check that the expected items appear, that the current-page state changes, and that unavailable directions cannot be activated. Repeat after applying a filter that reduces the number of pages.

Then inspect the controls with a screen reader available in your test environment. Listen to the navigation landmark, individual link names, and current-page announcement. For a JavaScript-driven list, check where focus remains after an update and whether the result change is communicated once. This journey catches problems that a visual review of the pagination row alone may miss.

Back to category ↗