Back to Top
Volver arriba
Volver arriba es un atajo en páginas largas. Devuelve la vista y el foco cerca del inicio.
Un ejemplo real
Después de leer cientos de filas de auditoría, un analista usa el botón para volver al encabezado del filtro.
Partes principales
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
Úsalo cuando
Úselo cuando volver a los menús superiores o filtros requeriría mucho desplazamiento.
No lo uses cuando
No cubras el contenido ni muevas el foco sin decir a dónde. Escóndelo en páginas cortas.
Nombre usado en código
scrollTo({ top: 0 }) + focus management Antes de lanzarlo
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 Volver arriba (Back to Top). User context: Después de leer cientos de filas de auditoría, un analista usa el botón para volver al encabezado del filtro. Recommended pattern: Volver arriba (Back to Top). Why it fits: Úselo cuando volver a los menús superiores o filtros requeriría mucho desplazamiento. Do not use it when: No cubras el contenido ni muevas el foco sin decir a dónde. Escóndelo en páginas cortas. 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): Ningún estándar oficial único controla todo el término. Su significado puede cambiar según equipos, plataformas o marcos. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Revisa esta petición
Review how Volver arriba (Back to Top) is used now. Definition: Volver arriba es un atajo en páginas largas. Devuelve la vista y el foco cerca del inicio. 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.