Drag & Drop
Trascina & Rilascia
Trascina e rilascia permette alle persone di spostare, riordinare o trasferire un elemento direttamente. Deve mostrare quando l'elemento viene preso e dove può essere rilasciato.
pointer events + keyboard alternativeUn esempio vero
Una scheda attività mostra un'anteprima quando viene presa. I punti validi aprono uno spazio e rilasciare la scheda conferma il suo nuovo ordine.
Parti principali
- 01Attiva
- 02Property change
- 03Timing model
- 04Reduced-motion result
Usalo quando
Usalo quando spostare un elemento nello spazio è più veloce e il risultato può essere annullato.
Non usarlo quando
Non fare del trascinamento l'unico metodo. Aggiungi supporto per la tastiera e comandi chiari per lo spostamento.
Nome usato nel codice
pointer events + keyboard alternative Prima di spedire
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 Trascina & Rilascia (Drag & Drop). User context: Una scheda attività mostra un'anteprima quando viene presa. I punti validi aprono uno spazio e rilasciare la scheda conferma il suo nuovo ordine. Design concept to apply: Trascina & Rilascia (Drag & Drop). Why it fits: Usalo quando spostare un elemento nello spazio è più veloce e il risultato può essere annullato. Do not use it when: Non fare del trascinamento l'unico metodo. Aggiungi supporto per la tastiera e comandi chiari per lo spostamento. 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): Lo standard copre solo l'ambito elencato. Non sceglie lo stile visivo, la decisione sul prodotto o l'esempio di vocabolario. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
Controlla questa richiesta
Review how Trascina & Rilascia (Drag & Drop) is used now. Definition: Trascina e rilascia permette alle persone di spostare, riordinare o trasferire un elemento direttamente. Deve mostrare quando l'elemento viene preso e dove può essere rilasciato. 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.