Color Picker
カラーピッカー
カラーピッカーは、色を選べるようにするよ。色のフィールド、色相のバー、数値、または色見本を見せることがあるよ。
実際の例
デザイナーは、目で見てアクセントカラーを選びます。それから、正確なHEX値とコントラストをチェックします。
主な部分
- 01可視ラベル
- 02Interaction target
- 03Current state
- 04Keyboard behavior
以下の場合に使用します
人々が自由に色を選択でき、正確に再利用可能な値が必要な場合に使用します。
以下の場合は使用しないでください
デザインシステム、アクセシビリティ規則、または法律が有効な色を定義している場合、選択肢を制限します。
コードで使用する名前
<input type=color> / OKLCH / HEX 出荷前に
Give assistive tools the control’s name (accessible name), purpose (role), value, and state. Check keyboard use, visible focus, target size, disabled and busy states, feedback, and recovery.
Outcome:Complete the task with カラーピッカー (Color Picker)。 User context:デザイナーは、目で見てアクセントカラーを選びます。それから、正確なHEX値とコントラストをチェックします。 Recommended pattern:カラーピッカー (Color Picker)。 Why it fits:人々が自由に色を選択でき、正確に再利用可能な値が必要な場合に使用します。 Do not use it when:デザインシステム、アクセシビリティ規則、または法律が有効な色を定義している場合、選択肢を制限します。 Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary):単一の公式標準が全体の用語を管理するわけではありません。その意味はチーム、プラットフォーム、またはフレームワークによって変わる可能性があります。 Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
このリクエストを確認する
Review how カラーピッカー (Color Picker) is used now. Definition: カラーピッカーは、色を選べるようにするよ。色のフィールド、色相のバー、数値、または色見本を見せることがあるよ。 Release checks: Give assistive tools the control’s name (accessible name), purpose (role), value, and state. Check keyboard use, visible focus, target size, disabled and busy states, feedback, and recovery. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.