Back to Top
Torna su
Torna su è una scorciatoia sulle pagine lunghe. Riporta la vista e il focus vicino all'inizio.
Un esempio vero
Dopo aver letto centinaia di righe di controllo, un analista usa il pulsante per tornare all'intestazione dei filtri.
Parti principali
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
Usalo quando
Usalo quando tornare ai menu principali o ai filtri richiederebbe molto scorrimento.
Non usarlo quando
Non coprire il contenuto o spostare il focus senza indicare la destinazione. Nascondilo nelle pagine brevi.
Nome usato nel codice
scrollTo({ top: 0 }) + focus management Prima di spedire
Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states.
Outcome: Complete the task with Torna su (Back to Top). User context: Dopo aver letto centinaia di righe di controllo, un analista usa il pulsante per tornare all'intestazione dei filtri. Recommended pattern: Torna su (Back to Top). Why it fits: Usalo quando tornare ai menu principali o ai filtri richiederebbe molto scorrimento. Do not use it when: Non coprire il contenuto o spostare il focus senza indicare la destinazione. Nascondilo nelle pagine brevi. 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 Torna su (Back to Top) is used now. Definition: Torna su è una scorciatoia sulle pagine lunghe. Riporta la vista e il focus vicino all'inizio. Release checks: Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.