本文へスキップ
Skillpedia
モバイルアプリ75k · #2964

orientation

できること

このスキルは、スマートフォンやタブレットを回転させたときにもサイトのコンテンツと操作部品が使えるかを確認します。すべての訪問者がアクセスできるよう、モバイルとフロントエンドの開発者向けです。

使う場面

  • ✓スマートフォンやタブレットを回転させたときのサイトの動きを確認するようエージェントに頼むとき。
  • ✓サイトが端末を回転させるよう表示し、コンテンツやフォームを隠しているとき。
  • ✓タブレットでも使われる全画面の画面、ダッシュボード、フォームを作っているとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/orientation/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のサイトはスマートフォンを回転させるよう求めて、ページをふさいでいます。どちらの向きでも使えるようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、向きの固定、端末回転を求めるオーバーレイ、片方の向きで機能を隠すレイアウトを探します。それらの妨げを取り除き、回転後もすべてが使えるように、レスポンシブなCSSでレイアウトを調整します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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

よくある質問

向きはアクセシビリティにとってなぜ重要ですか?

このスキルによると、車いすに端末を取り付けたり、スタンドに置いたりして使う人は、端末を回転させられないことがあります。

横向きだけや縦向きだけのレイアウトは許されますか?

このスキルは、作業上どうしても必要な場合だけにして、その理由を説明するよう勧めています。

エージェントは結果をどう確かめますか?

このスキルは、モバイルとタブレットのサイズで、縦向きと横向きの両方で描画された動きを確認することを勧めています。

詳細

作者による元の説明

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

人気

GitHubのスター
75k
ランキング
#2964
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル