Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)75k · #2970

parallax-effects

Skill này làm gì

Skill này kiểm tra các hiệu ứng cuộn parallax và đảm bảo chúng bị tắt với người dùng thích ít chuyển động. Skill dành cho lập trình viên front-end muốn thiết kế nhiều chuyển động vẫn thoải mái cho mọi người.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu agent rà soát các hiệu ứng cuộn trên trang về độ nhạy chuyển động.
  • ✓Khi một thiết kế dùng parallax và một số khách truy cập báo chóng mặt hoặc khó chịu.
  • ✓Khi bạn thêm chuyển động vào trang và muốn tôn trọng cài đặt giảm chuyển động.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/parallax-effects/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Trang của tôi có hiệu ứng parallax có thể khiến một số khách truy cập chóng mặt. Bạn có thể làm nó tôn trọng cài đặt giảm chuyển động không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm các phần tử mà nền và tiền cảnh di chuyển với tốc độ khác nhau. Agent bọc hiệu ứng trong một media query cho no-preference, thêm phương án tĩnh có cùng nội dung, và gợi ý một tùy chọn trên toàn site để tắt chuyển động.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Provide alternatives to parallax effects

Parallax creates a mismatch between what the eyes see and what the inner ear senses—triggering dizziness, nausea, and vertigo for users with vestibular disorders.

Quick Reference

  • Disable parallax when prefers-reduced-motion is set
  • Parallax creates depth mismatch triggering vestibular disorders
  • Provide user toggle to disable motion effects site-wide
  • Ensure essential content is accessible without the effect

Check

Identify parallax effects where background and foreground move at different speeds. Verify these effects are disabled when prefers-reduced-motion is set, and essential content is accessible without the effect.

Fix

Wrap parallax effects in @media (prefers-reduced-motion: no-preference) queries. Provide static fallbacks that convey the same content. Consider adding a user toggle to disable motion effects site-wide.

Explain

Explain how parallax effects create a depth mismatch that can trigger vestibular disorders, causing dizziness, nausea, and disorientation in affected users.

Code Review

Review the rendered markup and interactive states that affect Provide alternatives to parallax effects. 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/parallax-effects

Câu hỏi thường gặp

Vì sao parallax gây vấn đề?

Skill nói sự lệch chiều sâu có thể gây rối loạn tiền đình, dẫn đến chóng mặt, buồn nôn và mất phương hướng.

prefers-reduced-motion là gì?

Đó là cài đặt hệ thống yêu cầu website giảm chuyển động, và skill dùng nó để tắt parallax.

Nội dung có còn cần hiển thị được không?

Có. Skill nói nội dung thiết yếu phải truy cập được mà không cần hiệu ứng.

Chi tiết

Mô tả gốc của tác giả

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

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2970
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự