Drag & Drop
ドラッグ&ドロップ
ドラッグ&ドロップにより、アイテムを直接移動、並べ替え、または転送することができます。アイテムを掴んだときにどこに置けるかを表示する必要があります。
pointer events + keyboard alternative実際の例
タスクカードは、持上げられた時にプレビューを表示します。正しい場所では隙間が空き、そこにドロップすると並び順が変わります。
主な部分
- 01トリガー
- 02Property change
- 03Timing model
- 04Reduced-motion result
以下の場合に使用します
アイテムを空間内で移動する方が速く、その結果を元に戻せる場合に使用します。
以下の場合は使用しないでください
ドラッグアンドドロップだけを唯一の方法にしてはいけません。キーボードサポートと明確な移動操作を追加してください。
コードで使用する名前
pointer events + keyboard alternative 出荷前に
Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.
Outcome:Complete the task with ドラッグ&ドロップ (Drag & Drop)。 User context:タスクカードは、持上げられた時にプレビューを表示します。正しい場所では隙間が空き、そこにドロップすると並び順が変わります。 Design concept to apply:ドラッグ&ドロップ (Drag & Drop)。 Why it fits:アイテムを空間内で移動する方が速く、その結果を元に戻せる場合に使用します。 Do not use it when:ドラッグアンドドロップだけを唯一の方法にしてはいけません。キーボードサポートと明確な移動操作を追加してください。 Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary):この標準は、列挙された範囲のみを対象とします。視覚スタイル、製品の判断、またはVibularyの例は選びません。 Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
このリクエストを確認する
Review how ドラッグ&ドロップ (Drag & Drop) is used now. Definition: ドラッグ&ドロップにより、アイテムを直接移動、並べ替え、または転送することができます。アイテムを掴んだときにどこに置けるかを表示する必要があります。 Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.