# Color picker

**Test family:** `CLR`

- **CLR-001** Picker, text input, swatch, eyedropper, and reset remain synchronized.
- **CLR-002** Accept supported hex/rgb(a)/hsl(a)/named formats and reject malformed, out-of-gamut, NaN, and hostile text.
- **CLR-003** Alpha/opacity, case, shorthand, normalization, and copy/paste round-trip without unintended precision loss.
- **CLR-004** Keyboard operation and numeric labels provide an alternative to spatial color selection.
- **CLR-005** Chosen foreground/background combination warns or blocks insufficient contrast where the product promises accessibility.
- **CLR-006** OS/browser picker cancellation, unsupported eyedropper, and permission failure preserve prior value.

## Comprehensive per-item coverage

- **CLR-007** Exercise unavailable, permission-denied, idle, initializing, active, paused, completed, canceled, failed, and recovered states.
- **CLR-008** Use adjacent names, captions, metadata, or pasted text containing ASCII emoticons, emoji/ZWJ sequences, kaomoji, RTL, combining marks, and long values.
- **CLR-009** Start through pointer, keyboard, touch, switch, voice, automation, and supported device controls; expose equivalent state and one action.
- **CLR-010** Deny, grant, revoke, and change OS/browser permission while idle and active; explain consequences and stop access promptly.
- **CLR-011** Disconnect, reconnect, sleep/wake, background/foreground, rotate, resize, switch devices, and change network quality during use.
- **CLR-012** Force unsupported format, codec, capability, device, browser, version, and hardware acceleration; fall back truthfully.
- **CLR-013** Use empty, tiny, ordinary, boundary-size, malformed, truncated, corrupt, and adversarial inputs without crash or unbounded work.
- **CLR-014** Use inert markup, script, URL, path, filename, metadata, template, and structured-payload canaries; isolate untrusted content.
- **CLR-015** Attempt cross-origin, cross-tenant, unauthorized, sandbox escape, clipboard, device, and local-resource access; enforce least privilege.
- **CLR-016** Double-start, double-stop, repeat, retry after timeout, and race two sessions or devices; prevent duplicate work and state confusion.
- **CLR-017** Navigate away, refresh, crash, restore, expire the session, and resume offline/online; define preservation, cleanup, and recovery.
- **CLR-018** Verify keyboard path, accessible role/name/state, focus, announcements, captions/alternatives, contrast, reflow, target size, and reduced motion.
- **CLR-019** Test locale, RTL, translated/long labels, input methods, regional formats, and unsupported glyphs without corrupting data.
- **CLR-020** Measure initialization, interaction, processing, rendering, memory, CPU/GPU, battery, bandwidth, and cleanup at normal and boundary load.
- **CLR-021** Inspect DOM, device buffers, temporary files, caches, URLs, logs, telemetry, crash reports, previews, and exports for sensitive leakage.
- **CLR-022** Stop, cancel, undo, clear, delete, and revoke; release devices, handles, workers, object URLs, temporary data, and permissions.
- **CLR-023** Change access or ownership after content is loaded or a capability is granted; reauthorize before save, share, export, or commit.
- **CLR-024** Verify telemetry and audit identify capability, actor, target, permission decision, duration, failure, retry, and cleanup without recording sensitive payload.
- **CLR-025** Test concurrent components competing for the same device, shortcut, clipboard, focus, storage, worker, or media resource.
- **CLR-026** Recover from renderer, worker, process, device, storage, and network failure without false success, orphaned capture, or unrecoverable data loss.

[Back to Specialized controls and system surfaces index](../../specialized-controls.md)
