Pular para o conteúdo
Skillpedia
Apps de celular75 mil · #2964

orientation

O que ela faz

Esta skill verifica se o conteúdo e os controles de um site continuam utilizáveis quando um celular ou tablet é girado. É para desenvolvedores mobile e de front-end que querem que todo visitante tenha acesso.

Quando usar

  • ✓Quando você pede ao agente para verificar como um site se comporta quando um celular ou tablet é girado.
  • ✓Quando um site mostra uma mensagem para girar o aparelho que bloqueia o conteúdo ou os formulários.
  • ✓Quando você constrói um fluxo em tela cheia, um painel ou um formulário que pode ser usado em tablets.

Link da skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/orientation/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/orientation/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

“Meu site pede para as pessoas girarem o celular e bloqueia a página. Você pode fazê-lo funcionar nas duas orientações?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente procura travas de orientação, sobreposições de girar o aparelho e layouts que escondem funções em uma das orientações. Ele remove esses bloqueios e ajusta o layout com CSS responsivo para que tudo funcione depois de girar.

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

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

Support both portrait and landscape orientation

Many users mount devices to wheelchairs, use tablets on stands, or cannot easily rotate a device. If a site only works in one orientation, these users may lose access to content or critical actions entirely.

Quick Reference

  • Do not lock the interface to portrait-only or landscape-only unless the task truly requires it
  • Ensure all core content and controls remain usable after device rotation
  • Use responsive layouts that adapt instead of hiding functionality in one orientation
  • If a specific orientation is essential, explain why and provide the best available alternative

Check

Rotate the page between portrait and landscape on mobile and tablet viewports. Verify all primary content, navigation, forms, and interactive controls remain available and usable in both orientations. Flag any use of orientation locks, rotate-device overlays that block content, or layouts that hide essential functionality in one orientation.

Fix

Remove orientation locks and redesign the layout to work in both portrait and landscape. Use responsive CSS, wrapping layouts, and adaptive spacing instead of blocking content behind a rotate-device message. Only keep an orientation requirement if the task is genuinely orientation-essential.

Explain

Explain why WCAG requires content to support both portrait and landscape unless orientation is essential to the activity, and how orientation locks can block users who cannot rotate their devices.

Code Review

Review responsive layouts, viewport handling, overlays, and any JavaScript related to device rotation. Flag exact selectors, components, or route states that require one orientation, hide essential content after rotation, or show blocking rotate-device messages instead of adapting the layout.


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

Rule page: https://frontendchecklist.io/rules/accessibility/orientation

Perguntas frequentes

Por que a orientação importa para a acessibilidade?

A skill observa que alguns usuários prendem os aparelhos em cadeiras de rodas ou em suportes de tablet, e podem não conseguir girá-los.

Um layout só em paisagem ou só em retrato alguma vez é aceitável?

A skill diz para manter apenas um deles se a tarefa realmente exigir, e explicar o motivo.

Como o agente deve verificar o resultado?

A skill recomenda verificar o comportamento renderizado nas duas orientações, em tamanhos de celular e de tablet.

Detalhes

Descrição original do autor

Use when reviewing mobile-first layouts, tablet experiences, fullscreen flows, forms, dashboards, or media interfaces. Check rendered behavior in both portrait and landscape and separate genuine layout constraints from unnecessary orientation assumptions.

repo: thedaviddias/Front-End-Checklist

Popularidade

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

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas