Pular para o conteúdo
Skillpedia
Sites e telas (frontend)75 mil · #2866

heading-hierarchy

O que ela faz

Esta skill verifica se os títulos de uma página seguem uma ordem lógica, do título principal até as subseções. É para desenvolvedores e editores que querem uma estrutura clara e acessível.

Quando usar

  • ✓Quando uma página pula do título principal direto para um subtítulo pequeno.
  • ✓Quando um usuário de leitor de tela não consegue entender o esboço da página.
  • ✓Quando títulos são usados apenas para deixar o texto maior.

Link da skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/heading-hierarchy/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/heading-hierarchy/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Você pode verificar se os títulos da minha página seguem uma ordem lógica?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente revisa os níveis dos títulos e verifica se há um único título principal e nenhum nível pulado. Ele sugere mudar os níveis quando necessário e usar CSS para o tamanho visual.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Use logical heading hierarchy

Screen reader users navigate by headings like a table of contents—skipping levels or poor hierarchy makes content impossible to understand and navigate.

Quick Reference

  • Use exactly one h1 per page for the main title
  • Never skip heading levels (h1 → h2 → h3, not h1 → h3)
  • Heading text should describe the content that follows
  • Don't use headings for visual styling—use CSS instead

Check

Verify pages have exactly one h1, headings follow sequential order without skipping levels (h1 → h2 → h3), and heading text clearly describes the content that follows. Use accessibility tools to generate a heading outline.

Fix

Structure headings to reflect content hierarchy. Start with h1 for the page title, use h2 for major sections, h3 for subsections. Never skip heading levels or use headings purely for visual styling.

Explain

Explain how screen reader users navigate by headings like a table of contents, and why skipped levels or missing structure forces users to work harder to understand page organization.

Code Review

Review the rendered markup and interactive states that affect Use logical heading hierarchy. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/heading-hierarchy

Perguntas frequentes

Por que pular um nível de título importa?

Usuários de leitor de tela navegam pelos títulos, então um salto torna o esboço mais difícil de entender.

A página deve ter mais de um h1?

A skill diz para usar exatamente um h1 por página, para o título principal.

Como o esboço pode ser verificado?

A skill sugere ferramentas de acessibilidade que geram um esboço de títulos.

Detalhes

Descrição original do autor

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Use logical heading hierarchy. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

Popularidade

Estrelas no GitHub
75 mil
Posição no ranking
#2866
Licença
MIT
Atualizada em
31/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas