本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)75k · #2912

landmark-regions

できること

このスキルは、ページの主要な領域が適切なランドマーク要素で示されているかを確認します。アクセシブルなページを作る開発者やコンテンツ編集者向けです。

使う場面

  • ✓意味を持たない汎用のコンテナーだけでページが作られているとき。
  • ✓複数のナビゲーション領域が見分けにくいとき。
  • ✓新しいレイアウトのコンポーネントを作るとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のレイアウトを、header、ナビゲーション、footerで適切なランドマークを使うように更新してください。”

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

仕組み

エージェントはページのレイアウトを確認し、header、nav、main、footerのための意味のある要素を提案します。同じ種類の領域が複数ある場合は、ラベルを付けるよう提案します。

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

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Use landmark regions correctly

Landmark regions allow screen reader users to quickly identify and jump to major sections of a page, significantly improving navigation efficiency.

Quick Reference

  • Use HTML5 landmark elements like <header>, <nav>, <main>, and <footer>
  • Ensure each landmark appears only once where appropriate (e.g., one <main>)
  • Provide labels for multiple landmarks of the same type using aria-label

Check

Verify that the page uses appropriate HTML5 landmark elements and that they are correctly structured.

Fix

Replace generic <div> containers with semantic landmark elements like <header>, <nav>, <main>, and <footer>.

Explain

Explain how landmark regions assist assistive technology users in navigating complex page layouts.

Code Review

Review the rendered markup and interactive states that affect Use landmark regions correctly. 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/landmark-regions

よくある質問

ランドマークとは何ですか?

ナビゲーションや本文など、スクリーンリーダーが一覧表示したり移動したりできるページの領域です。

ナビゲーションが2つある場合はどうしますか?

このスキルは、利用者が区別できるように、それぞれにaria-labelを付けることを勧めています。

各ランドマークはページに1回だけ現れるべきですか?

このスキルによると、mainのように、一部のランドマークはページに1回だけ現れるべきです。

詳細

作者による元の説明

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

repo: thedaviddias/Front-End-Checklist

人気

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

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

0

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

コメント

  • …

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

似ているスキル