跳到正文
Skillpedia
界面(UI/UX)75k · #3014

sensory-instructions

它能做什么

这个技能检查页面上的说明,并为“红色按钮”或“右边的菜单”这类表述添加文字标签。它面向希望每位访客都能看懂说明的设计师和写作者。

适用场景

  • ✓你请智能体检查页面说明中是否有依赖颜色、形状或位置的表述的时候。
  • ✓说明中写着“点击绿色按钮”,而一些用户无法感知该颜色的时候。
  • ✓页面使用了声音提示,而你希望添加视觉替代方案的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/sensory-instructions/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的说明写着“点击绿色按钮”和“右边的菜单”。请帮我改写,让每个人都能理解吗?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会找出依赖单一感官提示的说明,并为每处添加文字标签,例如“点击提交按钮(绿色)”。它还会为声音提示添加视觉替代,让每条信息都能通过多种信号理解。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Avoid sensory-only instructions

Color-blind users can't see 'click the red button,' screen reader users can't perceive 'the menu on the right,' and deaf users miss audio cues—multi-modal instructions include everyone.

Quick Reference

  • Don't use color alone to convey information (red=error)
  • Add text labels to shape and location references
  • Provide visual alternatives for audio cues
  • Combine multiple cues so all users can understand

Check

Review instructions and verify they don't rely only on color ('click the red button'), shape ('the circular icon'), location ('the menu on the right'), or sound ('when you hear the beep'). Ensure text labels supplement visual cues.

Fix

Add text labels to visual instructions. Instead of 'click the green button', use 'click the Submit button (green)'. Combine multiple cues so users who cannot perceive one can still understand via another.

Explain

Explain how color-blind users cannot distinguish color-only cues, screen reader users cannot perceive location or shape, and deaf users miss audio-only signals, making multi-modal instructions essential.

Code Review

Review the rendered markup and interactive states that affect Avoid sensory-only instructions. 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/sensory-instructions

常见问题

为什么只靠颜色是个问题?

这个技能说,色盲用户可能无法分辨指的是哪个项目,因此需要文字标签。

声音提示如何处理?

这个技能建议提供视觉替代方案,使听障用户不会错过该提示。

每条说明都需要多种提示吗?

这个技能说,应组合多种提示,使无法感知其中一种的用户仍能通过另一种理解。

详情

作者的原始描述

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Avoid sensory-only instructions. 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
排名
#3014
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能