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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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.
Popularity
- GitHub stars
- 75k
- Ranking position
- #2964
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
android-clean-architecture
280kMakes your agent organize Android projects efficiently. It structures the code to make maintenance and new feature development easier.
compose-multiplatform-patterns
280kHelps your agent use Compose Multiplatform and Jetpack Compose patterns in KMP projects, covering state, navigation, theming, and performance.
dart-flutter-patterns
280kMakes your agent write code for Dart and Flutter apps. It uses modern patterns to create robust and manageable apps.