File Upload
Caricamento file
Il caricamento dei file riguarda la scelta, il controllo, l'invio e la gestione dei file da un dispositivo.
Un esempio vero
Un'area per trascinare le immagini mostra un'anteprima e rifiuta i file troppo grandi. Le persone possono riprovare o rimuoverli.
Parti principali
- 01Etichetta persistente
- 02Input control
- 03Hint or format
- 04Validation message
Usalo quando
Usalo per inviare un documento, un'immagine, un video o altro file del dispositivo.
Non usarlo quando
Non accettare mai un file prima di spiegare i tipi consentiti, i limiti di dimensione, la privacy e il progresso del caricamento.
Nome usato nel codice
<input type="file"> Prima di spedire
Give each field a label that code can read. Link hints and errors, and keep entered values. Check autofill, keyboard order, validation timing, submit states, failure recovery, zoom, and languages.
Outcome: Complete the task with Caricamento file (File Upload). User context: Un'area per trascinare le immagini mostra un'anteprima e rifiuta i file troppo grandi. Le persone possono riprovare o rimuoverli. Recommended pattern: Caricamento file (File Upload). Why it fits: Usalo per inviare un documento, un'immagine, un video o altro file del dispositivo. Do not use it when: Non accettare mai un file prima di spiegare i tipi consentiti, i limiti di dimensione, la privacy e il progresso del caricamento. 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): Nessun singolo standard ufficiale controlla l'intero termine. Il suo significato può cambiare tra team, piattaforme o framework. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Controlla questa richiesta
Review how Caricamento file (File Upload) is used now. Definition: Il caricamento dei file riguarda la scelta, il controllo, l'invio e la gestione dei file da un dispositivo. Release checks: Give each field a label that code can read. Link hints and errors, and keep entered values. Check autofill, keyboard order, validation timing, submit states, failure recovery, zoom, and languages. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.