Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

wcag-audit-operable-motion-testWCAG 审核 operable motion 测试

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

720

周安装

30

GitHub Stars

公开资料未说明

下载量

240
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wcag-audit-operable-motion-test(WCAG 审核 operable motion 测试)
来源仓库:https://github.com/jkense/agent-skills-wcag
仓库路径:skills/wcag-audit-operable-motion-test
安装命令:
npx skills add jkense/agent-skills-wcag --skill "wcag-audit-operable-motion-test"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add jkense/agent-skills-wcag --skill "wcag-audit-operable-motion-test"

简介

wcag-audit-operable-motion-test 用于测试阶段的无障碍动效合规检查。

  • 适用于研究检索类任务,支持迭代开发中的快速验证。
  • 通过 github 安装,命令为 npx skills add jkense/agent-skills-wcag --skill "wcag-audit-operable-motion-test"。
  • 建议在沙箱环境中运行,防止影响线上服务。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
wcag-audit-operable-motion-test
description
Test animations for motion sensitivity compliance and reduced motion preferences

When to Use

Use this tool when implementing animations, transitions, or moving content to ensure compliance with motion sensitivity guidelines and respect for user reduced motion preferences.

Usage

Command Line

node scripts/test.js --duration 3.5 --type parallax
node scripts/test.js --duration 2.0 --flashes 5 --reduced-motion true
node scripts/test.js --json '{"duration": 4.2, "type": "scroll", "flashes": 0}'

JSON Input

node scripts/test.js --json '{
  "duration": 3.5,
  "type": "carousel",
  "flashes": 0,
  "userPrefersReducedMotion": true
}'

Parameters

  • --duration: Animation duration in seconds
  • --type: Animation type (scroll, parallax, carousel, transition, etc.)
  • --flashes: Number of flashes per second (default: 0)
  • --reduced-motion: Whether to simulate reduced motion preference (true/false)
  • --json: JSON input with animation properties

Output

Returns JSON with compliance assessment and recommendations:

{
  "animation": {
    "duration": 3.5,
    "type": "parallax",
    "flashes": 0
  },
  "compliance": {
    "reducedMotion": true,
    "flashing": true,
    "duration": false
  },
  "issues": ["Animation duration exceeds 5 seconds"],
  "recommendations": [
    "Provide option to pause or disable parallax scrolling",
    "Consider using reduced motion alternative"
  ]
}

Examples

Test short animation

$ node scripts/test.js --duration 2.0 --type transition
✅ Reduced motion: RESPECTED
✅ Flashing: PASS (no flashes detected)
✅ Duration: PASS (2.0s within limit)
Animation meets accessibility requirements

Test long animation

$ node scripts/test.js --duration 8.5 --type carousel
⚠️  Reduced motion: NEEDS ATTENTION
✅ Flashing: PASS (no flashes detected)
❌ Duration: FAIL (8.5s exceeds 5s limit)
Recommendations:
- Provide pause/stop controls for auto-advancing carousel
- Consider shorter transition duration or user control
- Offer static alternative when reduced motion is preferred

Test flashing content

$ node scripts/test.js --duration 1.0 --flashes 4
✅ Reduced motion: RESPECTED
❌ Flashing: FAIL (4 flashes/s exceeds 3 flashes/s limit)
❌ Duration: PASS (1.0s within limit)
Recommendations:
- Reduce flashing frequency to maximum 3 flashes per second
- Consider non-flashing alternatives
- Test with users sensitive to flashing content

WCAG Standards

  • Reduced Motion: Respect prefers-reduced-motion user preference
  • Flashing Limit: Maximum 3 flashes per second
  • Auto-play Duration: Moving content should be pausable within 5 seconds
  • User Control: Provide options to pause, stop, or hide moving content
  • Alternatives: Offer static alternatives for animated content

Animation Types

Safe Types

  • Fade transitions: Gradual opacity changes
  • Slide transitions: Smooth position changes
  • Scale transforms: Size changes without movement

Risk Types

  • Parallax scrolling: Multiple layers moving at different speeds
  • Auto-advancing carousels: Content that changes automatically
  • Flashing elements: Rapid visibility changes
  • Spinning animations: Rotational movement

Best Practices

  1. Check user preferences: Always respect prefers-reduced-motion
  2. Provide controls: Allow users to pause/stop animations
  3. Limit duration: Keep auto-playing content under 5 seconds
  4. Avoid flashing: Never exceed 3 flashes per second
  5. Test alternatives: Ensure functionality without animation

Learn More

For more information about Agent Skills and how they extend AI capabilities.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

windsurf

31.45%
按下载量换算75

OpenCode

21.06%
按下载量换算51

Codex

16.63%
按下载量换算40

github-copilot

11.35%
按下载量换算27

Claude Code

7.81%
按下载量换算19

Antigravity

3.37%
按下载量换算8

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills