# Pagination and infinite scroll

**Test family:** `PAG`

- **PAG-001** Test zero/one/page−1/page/page+1/multiple pages and last-page counts.
- **PAG-002** First/previous/next/last boundaries disable correctly and never duplicate/skip items.
- **PAG-003** Sort/filter/search changes reset or preserve page intentionally.
- **PAG-004** Direct invalid, negative, huge, stale, or deleted page targets recover truthfully.
- **PAG-005** Back/forward and shared URL restore page, query, sort, and scroll.
- **PAG-006** Concurrent inserts/deletes do not produce unacceptable duplicates/omissions; cursor semantics are tested.
- **PAG-007** Infinite scroll exposes loading/end/error/retry and offers keyboard/screen-reader navigation and a route to footer content.

## Comprehensive per-item coverage

- **PAG-008** Verify absent, loading, initial, default, selected/open, disabled, read-only, invalid, pending, success, and error states are visually and programmatically distinct.
- **PAG-009** Activate with pointer, touch, keyboard, switch control, voice command, and automation APIs; produce one equivalent action per intentional activation.
- **PAG-010** Verify the accessible role, name, description, value/state, relationships, and focus behavior match the visible control.
- **PAG-011** Use adjacent labels or record names containing ASCII emoticons, emoji, kaomoji, RTL text, combining marks, and very long strings; render them safely without breaking activation.
- **PAG-012** Use labels with `&`, `<`, `>`, quotes, slashes, template delimiters, and CSV-formula prefixes; render text inertly in UI, logs, notifications, and exports.
- **PAG-013** Traverse with Tab, Shift+Tab, arrows, Home/End, Enter, Space, Escape, and platform conventions; never trap or unexpectedly move focus.
- **PAG-014** Double-click, double-tap, press Enter repeatedly, and retry after a slow response; prevent duplicate actions and expose truthful progress.
- **PAG-015** Change state while the control is focused, open, offscreen, or being announced; avoid stale accessible state and lost focus.
- **PAG-016** Attempt activation when hidden, disabled, read-only, unauthorized, expired, or stale through both UI and direct requests; enforce the server rule.
- **PAG-017** Interrupt the action with navigation, refresh, offline transition, timeout, server error, and session expiry; recover or roll back coherently.
- **PAG-018** Use two sessions to change the same state simultaneously; define conflict, ordering, and final-state behavior.
- **PAG-019** Reload, revisit, deep-link, back/forward, duplicate the tab, and restore a crashed session; preserve or reset state according to product intent.
- **PAG-020** Test the control inside forms, dialogs, menus, tables, repeated rows, nested landmarks, and virtualized content; keep names and targets unique.
- **PAG-021** Test narrow and wide screens, portrait/landscape, 200% text, 400% reflow, high contrast, reduced motion, and touch target sizing.
- **PAG-022** Translate and lengthen labels, use RTL layout, and change locale while state exists; preserve meaning, order, and action target.
- **PAG-023** Exercise 1, many, and very many repeated controls; keep rendering, interaction, and announcements responsive.
- **PAG-024** Verify analytics, audit events, notifications, and downstream requests occur once, contain the intended target, and omit unrelated sensitive data.
- **PAG-025** Change permissions or ownership between render and activation; reauthorize at commit time and explain rejection without leaking hidden data.
- **PAG-026** Undo, cancel, dismiss, reset, or restore where promised; make irreversible transitions explicit and require an appropriate confirmation/recovery path.
- **PAG-027** Test current and supported browsers/devices plus assistive technology combinations; do not rely on hover, color, animation, or pointer precision alone.

[Back to Choice, action, and navigation controls index](../../controls-choice-action.md)
