Tabs
Schede
Le schede utilizzano etichette per cambiare contenuto in un pannello condiviso. Il compito principale rimane aperto.
Un esempio vero
Panoramica, Attività e Permessi cambiano il pannello sottostante mentre lo stesso progetto rimane aperto.
Parti principali
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
Usalo quando
Usa tabulazioni per alcune sezioni allo stesso livello quando le loro etichette devono rimanere visibili.
Non usarlo quando
Non usare mai schede come piccoli link a pagine che non hanno nulla a che fare l'una con l'altra.
Nome usato nel codice
role="tablist" 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 Schede (Tabs). User context: Panoramica, Attività e Permessi cambiano il pannello sottostante mentre lo stesso progetto rimane aperto. Recommended pattern: Schede (Tabs). Why it fits: Usa tabulazioni per alcune sezioni allo stesso livello quando le loro etichette devono rimanere visibili. Do not use it when: Non usare mai schede come piccoli link a pagine che non hanno nulla a che fare l'una con l'altra. 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): È ufficiale per quella fonte. Altre piattaforme o team potrebbero usare il termine in modo diverso. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Controlla questa richiesta
Review how Schede (Tabs) is used now. Definition: Le schede utilizzano etichette per cambiare contenuto in un pannello condiviso. Il compito principale rimane aperto. 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.