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

scrolljacking

できること

このスキルは、サイトがスクロールの速さ、向き、ページ単位の移動などのネイティブな動きを変えていないかを確認し、それらの変更を取り除きます。誰にとっても自然なスクロールを求めるフロントエンドの開発者向けです。

使う場面

  • ✓サイトがスクロールの動きを変えていないか確認するようエージェントに頼むとき。
  • ✓スクロールがぎこちなく、ガクガクして、操作しにくいと訪問者が報告しているとき。
  • ✓カスタムのスクロール効果を追加していて、それがナビゲーションの邪魔にならないようにしたいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“訪問者からスクロールがおかしく、ガクガクすると言われています。スクロールの動きを変えているコードを取り除いてください。”

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

仕組み

エージェントは、スクロールの速さや向きを上書きしたり、スクロールでページの移動を起こしたりするJavaScriptを探します。それらを取り除くか調整し、必要不可欠なカスタム効果は、無効にする方法を付けて残します。

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

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

Avoid scrolljacking and custom scroll behavior

Scrolljacking breaks user expectations, interferes with assistive technologies, and creates unpredictable experiences that frustrate users with motor impairments or cognitive disabilities.

Quick Reference

  • Never override native scroll speed or direction
  • Avoid scroll-triggered navigation (one page per scroll)
  • Scrolljacking breaks assistive technologies and user expectations
  • If custom scrolling is essential, provide a way to disable it

Check

Test scrolling behavior and verify it feels native. Check that scroll speed is not modified, scroll direction is not inverted, and scroll events are not hijacked for animations or navigation without user consent.

Fix

Remove JavaScript that overrides default scroll behavior. If custom scrolling is essential, respect prefers-reduced-motion and provide a way to disable custom scroll effects.

Explain

Explain how scrolljacking disrupts expected navigation patterns, interferes with assistive technologies, and creates unpredictable experiences for users with motor impairments or cognitive disabilities.

Code Review

Review the rendered markup and interactive states that affect Avoid scrolljacking and custom scroll behavior. 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/scrolljacking

よくある質問

scrolljackingとは何ですか?

サイトが通常のスクロールの動きを変えてしまい、スクロールしても訪問者が期待するようにページが動かないことです。

誰が影響を受けますか?

このスキルによると、運動機能や認知の障害がある人を困らせ、支援技術の邪魔をすることがあります。

カスタムのスクロール効果が必要な場合はどうしますか?

このスキルは、動きを減らす設定を尊重し、効果を無効にする方法を用意するよう勧めています。

詳細

作者による元の説明

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Avoid scrolljacking and custom scroll behavior. 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
ランキング
#3010
ライセンス
MIT
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル