Skip to content
Skillpedia
Mobile apps75k · #2964

orientation

What it does

This skill checks that a site's content and controls stay usable when a phone or tablet is rotated. It is for mobile and front-end developers who want every visitor to have access.

When to use it

  • ✓When you ask the agent to check how a site behaves when a phone or tablet is rotated.
  • ✓When a site shows a rotate-your-device message that blocks content or forms.
  • ✓When you are building a fullscreen flow, dashboard, or form that might be used on tablets.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/orientation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“My site asks people to rotate their phone and blocks the page. Can you make it work in both orientations?”

5 new skills a week. 1 minute to read.

How it works

The agent looks for orientation locks, rotate-device overlays, and layouts that hide functions in one orientation. It removes those blockers and adjusts the layout with responsive CSS so everything works after rotation.

Technical content (original SKILL.md)

Original text by the author, straight from 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

FAQ

Why does orientation matter for accessibility?

The skill notes that some users mount devices to wheelchairs or tablets on stands, and may not be able to rotate them.

Is a landscape-only or portrait-only layout ever okay?

The skill says to keep one only if the task truly requires it, and to explain why.

How should the agent check the result?

The skill recommends checking the rendered behavior in both portrait and landscape on mobile and tablet sizes.

Details

Original description by the author

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

Popularity

GitHub stars
75k
Ranking position
#2964
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills