color-accessibility by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill color-accessibility可访问的色彩设计确保所有用户,包括有色觉缺陷的用户,都能访问和理解信息。
最小工作示例:
WCAG Contrast Ratios:
WCAG AA (Minimum):
- Normal text: 4.5:1
- Large text (18pt+): 3:1
- UI components & graphical elements: 3:1
- Focus indicators: 3:1
WCAG AAA (Enhanced):
- Normal text: 7:1
- Large text: 4.5:1
- Better for accessibility
---
Testing Contrast:
Tools:
- WebAIM Contrast Checker
- Color Contrast Analyzer
- Figma plugins
- Browser DevTools
Formula (WCAG): Contrast = (L1 + 0.05) / (L2 + 0.05)
Where L = relative luminance
// ... (see reference guides for full implementation)
references/ 目录下的详细实现:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
每周安装量
169
代码仓库
GitHub 星标数
116
首次出现
2026年1月21日
安全审计
安装于
opencode145
gemini-cli140
codex138
cursor123
claude-code122
github-copilot122
Accessible color design ensures all users, including those with color vision deficiency, can access and understand information.
Minimal working example:
WCAG Contrast Ratios:
WCAG AA (Minimum):
- Normal text: 4.5:1
- Large text (18pt+): 3:1
- UI components & graphical elements: 3:1
- Focus indicators: 3:1
WCAG AAA (Enhanced):
- Normal text: 7:1
- Large text: 4.5:1
- Better for accessibility
---
Testing Contrast:
Tools:
- WebAIM Contrast Checker
- Color Contrast Analyzer
- Figma plugins
- Browser DevTools
Formula (WCAG): Contrast = (L1 + 0.05) / (L2 + 0.05)
Where L = relative luminance
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Color Contrast Standards | Color Contrast Standards |
| Color Vision Deficiency Simulation | Color Vision Deficiency Simulation |
| Accessible Color Usage | Accessible Color Usage |
| Testing & Validation | Testing & Validation |
Weekly Installs
169
Repository
GitHub Stars
116
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode145
gemini-cli140
codex138
cursor123
claude-code122
github-copilot122
前端设计技能指南:避免AI垃圾美学,打造独特生产级界面
39,800 周安装