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

pagination-accessibility

できること

このスキルは、ページ送りの操作部品が適切なマークアップを使い、キーボードとスクリーンリーダーで操作できるかを確認します。複数ページに分割された一覧や検索結果を作るフロントエンドの開発者向けです。

使う場面

  • ✓ページ下部のページ番号のコントロールがアクセシブルか確認するようエージェントに頼むとき。
  • ✓スクリーンリーダーの利用者が、ページ分割された一覧で今どのページにいるか分からないとき。
  • ✓共通のページ送りコンポーネントを作り、アクセシビリティの基本に沿わせたいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私の商品一覧の下にあるページ番号が、スクリーンリーダーで使いやすいか確認してください。”

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

仕組み

エージェントは、ページ送りがラベル付きのnav要素の中にあるか、現在のページにaria-currentが付いているか、前へと次へのボタンに分かりやすいラベルがあるかを確認します。キーボードで操作できるかも確かめます。

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

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

Make pagination accessible

Without proper markup, screen reader users cannot understand which page they're on or navigate efficiently through paginated content.

Quick Reference

  • Use nav element with aria-label='Pagination'
  • Mark current page with aria-current='page'
  • Provide clear labels for previous/next buttons
  • Announce page changes to screen readers

Check

Verify pagination uses nav element with aria-label, indicates current page with aria-current, and is keyboard navigable.

Fix

Implement pagination with nav role='navigation', aria-label, aria-current='page' for active page, and focusable controls.

Explain

Explain how accessible pagination helps screen reader users understand their position and navigate through paged content.

Code Review

Review templates, server-rendered HTML, and shared components that output markup related to Make pagination accessible. Flag exact elements, attributes, and routes where the rendered HTML violates the rule.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/html/pagination-accessibility

よくある質問

aria-currentはここで何をしますか?

支援技術に、どのページが現在のページかを伝え、利用者が今どこにいるか分かるようにします。

ページが変わったことは知らせるべきですか?

はい。このスキルは、ページが変わったときにスクリーンリーダーに知らせるべきだとしています。

ラベルは重要ですか?

はい。このスキルは、nav要素にaria-label=「Pagination」を付けることを勧めています。

詳細

作者による元の説明

Use when reviewing templates, rendered HTML, or shared components related to Make pagination accessible. Validate the final browser-facing markup, not just the source framework abstraction.

repo: thedaviddias/Front-End-Checklist

人気

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

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

0

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

コメント

  • …

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

似ているスキル