- Docs
- Components
- Navigation
Pagination
Pages of a long list, for offset and limit APIs: the range on show, then First, Previous, Next and Last.
- Import
- @qeetrix/react/experimental
- Status
- ExperimentalSince 0.0.6
- Renders
<nav aria-label="Pagination">Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
Keyboard
| Keys | What happens |
|---|---|
| TabTab | To rows per page, then each button: one that's off stays focusable, so it's read. |
| EnterSpace | Goes to that page. |
02
Behaviour
- Landmark
- A navigation landmark, named "Pagination" or by messages.label.
- Announced
- The new range, politely, when it changes.
- Names
- First page, Previous page, Next page and Last page; each shows as a tooltip.
- Right to left
- The chevrons point the reading way; the numbers keep their order.
03
Tested
On every change, before it ships.
- axe, WCAG 2.2 A and AA, in Chromium on every pull request
- Firefox and WebKit every night
- Keyboard: every key in the table, in a test
- Forced colours, reduced motion and right to left