# Gallery

**Test family:** `GAL`

Apply relevant search, filter, sort, action, and access item files in addition to the view-specific cases.

- **GAL-001** Correct thumbnail maps to item; missing/corrupt/slow/rotated/transparent/extreme-aspect media has a safe fallback.
- **GAL-002** Lazy load and responsive source choose appropriate quality without layout shift or wrong cached tenant image.
- **GAL-003** Caption/alt/name/action remains reachable at zoom, touch, and keyboard.
- **GAL-004** Open/next/previous/close/lightbox preserves focus and item order.
- **GAL-005** Deleted/forbidden/full-resolution asset cannot be fetched from a retained thumbnail URL.

## Comprehensive per-item coverage

- **GAL-006** Render loading, empty, no-results, partial, ordinary, boundary-size, stale, offline, unauthorized, and error states distinctly.
- **GAL-007** Render values containing ASCII emoticons, emoji/ZWJ sequences, kaomoji, accents, mixed scripts, RTL, combining marks, invisible characters, and confusables.
- **GAL-008** Render null, empty, zero, false, unknown enum, deleted relation, long unbroken text, multiline text, media, links, and hostile markup canaries safely.
- **GAL-009** Verify visible rows/items/cards correspond exactly to the active query, filter, sort, group, page, tenant, and permission scope.
- **GAL-010** Change data while loading and while visible; avoid duplicates, omissions, jumping identity, stale totals, and interaction with the wrong item.
- **GAL-011** Select, focus, expand, edit, drag, open, and bulk-act using stable item identity even after reorder, virtualization, refresh, and pagination.
- **GAL-012** Deep-link, bookmark, share, refresh, duplicate tab, navigate back/forward, and restore; preserve only intended state and reject tampering.
- **GAL-013** Use owner, collaborator, restricted role, removed member, anonymous viewer, and another tenant; hidden data must not leak in counts, placeholders, caches, or timing.
- **GAL-014** Navigate and operate entirely by keyboard and screen reader; expose landmarks, headings, names, positions, selection, expansion, sort, errors, and live updates.
- **GAL-015** Test narrow/wide screens, portrait/landscape, 200% text, 400% reflow, high contrast, reduced motion, print, and touch targets.
- **GAL-016** Translate and lengthen text, switch RTL/LTR, locale sorting, number/date/currency formats, and time zone while view state exists.
- **GAL-017** Measure initial, incremental, sort/filter, scroll, selection, resize, and update latency at empty, ordinary, and supported maximum datasets.
- **GAL-018** Verify virtualization preserves focus, accessible position/count, selection, row height, sticky elements, and return position.
- **GAL-019** Retry after timeout, disconnect/reconnect, stale cache, replica lag, and partial response; show data age and never claim a false empty state.
- **GAL-020** Escape markup, URLs, filenames, formulas, and user content for the rendering context; links and actions must target the intended safe resource.
- **GAL-021** Change role, ownership, or record state between render and activation; reauthorize and refresh or reject the action clearly.
- **GAL-022** Export, print, copy, share, and screenshot the active view; preserve scope and formatting without exposing hidden fields or offscreen private data.
- **GAL-023** Verify analytics and audit distinguish viewed, loaded, exposed, selected, and acted-on items without collecting unnecessary content.
- **GAL-024** Save, rename, duplicate, reset, delete, and share view configuration; handle conflicts, invalid fields, schema changes, and revoked recipients.
- **GAL-025** Recover after renderer crash, corrupted saved state, invalid deep link, and unsupported browser capability with a usable default and diagnostic evidence.

[Back to Views and visualizations index](../../views-visualization.md)
