# Tabs and accordion

**Test family:** `NAV`

- **NAV-001** Active tab/panel relationship is programmatic; Arrow/Home/End and focus behavior follow the chosen activation model.
- **NAV-002** Deep link, refresh, back/forward, and shared URL restore the intended panel when promised.
- **NAV-003** Hidden panels do not remain focusable or announce duplicate content.
- **NAV-004** Changing tabs with unsaved state follows an explicit preserve/warn/discard policy.
- **NAV-005** Lazy-loaded panels handle error/retry and do not swap data between tabs after out-of-order responses.
- **NAV-006** Accordion headings preserve hierarchy; expanded state is announced; multiple-open policy is coherent.

## Comprehensive per-item coverage

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