# Form composition

**Test family:** `FRM`

- **FRM-001** Submit a completely valid minimal form and a realistic complete form.
- **FRM-002** Submit all fields empty; identify every required field without an unusable error storm.
- **FRM-003** Correct errors one by one; error count and summary update; valid fields persist.
- **FRM-004** Conditional fields appear/disappear with correct defaults, validation, focus, and retained/cleared data policy.
- **FRM-005** Client and server validation disagree gracefully; server wins without losing work.
- **FRM-006** Reset/Cancel distinguishes defaults from saved values and confirms meaningful loss.
- **FRM-007** Multi-step form supports back/forward, refresh, resume, partial save, step validation, and final summary.
- **FRM-008** Honeypot/CAPTCHA/bot defenses do not trap assistive technology or password managers.

## Comprehensive per-item coverage

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