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

skip-link

できること

このスキルは、ページの一番最初にスキップリンクがあり、フォーカスされたときに動作するかを確認します。キーボードで使いやすいサイトを作りたい制作者向けです。

使う場面

  • ✓ページにキーボードの利用者向けのスキップリンクがあるか確認するようエージェントに頼むとき。
  • ✓キーボードの利用者が、毎ページでメニュー全体をTabで移動しなければならないとき。
  • ✓共通のページのレイアウトを作っていて、最初からスキップリンクを含めたいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“キーボードの利用者は、毎ページでメニュー全体をTabで移動しなければなりません。「本文へスキップ」のリンクを追加してください。”

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

仕組み

エージェントは、ページで最初にフォーカスできる要素として、本文のコンテナーを指すリンクを追加します。フォーカスされたときに表示されるようにし、キーボードの利用者がそれを見て使えるようにします。

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

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

Implement "Skip to Content" links

Skip links allow keyboard and screen reader users to bypass repetitive navigation links, saving them significant time and effort.

Quick Reference

  • Add a skip link as the first focusable element
  • Ensure it's visible when focused
  • Link it to the main content container ID

Check

Verify if a skip link exists and is the first focusable element in the document.

Fix

Add a skip link that becomes visible on focus and targets the main content area.

Explain

Explain how skip links benefit users who navigate via keyboard by allowing them to bypass repetitive menus.

Code Review

Review the rendered markup and interactive states that affect Implement "Skip to Content" links. 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/skip-link

よくある質問

スキップリンクはどこに置くべきですか?

このスキルによると、ページで最初にフォーカスできる要素であるべきです。

リンクは常に見えているべきですか?

いいえ。このスキルによると、フォーカスされたときに見えるべきなので、それ以外のときは邪魔にならないようにできます。

リンクはどこを指しますか?

このスキルによると、本文のコンテナーを指すべきで、通常はそのidを使います。

詳細

作者による元の説明

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Implement 'Skip to Content' links. 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
ランキング
#3025
ライセンス
MIT
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル