Tabs
Abas
Abas usam rótulos para alternar o conteúdo em um painel compartilhado. A tarefa principal continua aberta.
Um exemplo real
Visão geral, Atividade e Permissões mudam o painel abaixo enquanto o mesmo projeto permanece aberto.
Partes principais
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
Use-o quando
Use abas para algumas seções no mesmo nível quando seus rótulos devem permanecer visíveis.
Não o use quando
Nunca use guias como pequenos links para páginas que não têm relação entre si.
Nome usado no código
role="tablist" Antes de lançar
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 Abas (Tabs). User context: Visão geral, Atividade e Permissões mudam o painel abaixo enquanto o mesmo projeto permanece aberto. Recommended pattern: Abas (Tabs). Why it fits: Use abas para algumas seções no mesmo nível quando seus rótulos devem permanecer visíveis. Do not use it when: Nunca use guias como pequenos links para páginas que não têm relação entre si. 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): É oficial para essa fonte. Outras plataformas ou equipes podem usar o termo de outra maneira. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Conferir este pedido
Review how Abas (Tabs) is used now. Definition: Abas usam rótulos para alternar o conteúdo em um painel compartilhado. A tarefa principal continua aberta. 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.