Color Accessibility

aj-geddes/useful-ai-prompts/skills/color-accessibility

作者 aj-geddes3f5182cfd739無授權條款355 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫7 個月前更新

Design color palettes that are accessible to all users including those with color blindness. Ensure sufficient contrast, meaningful use of color, and inclusive design.

僅含說明Design & Creative
AI 產生的概覽

指導無障礙配色設計、對比度檢查,以及針對介面與圖表的色盲測試。

功能
這項技能為設計對色覺缺陷使用者仍然可用的配色方案與介面提供指引。內容涵蓋 WCAG 對比度要求、色覺缺陷模擬、無障礙顏色使用,以及測試與驗證實務。它另外附有元件範本與參考指南,產出的是設計指引,而非檔案或程式碼。
適用情境
在建立配色方案、設計資料視覺化、圖表或圖形,或為無障礙目的測試介面設計時使用。它也適用於狀態指示、警示和表單驗證狀態等以顏色傳達意義的情境。
執行需求
不需要指令碼或工具,僅為說明文件與參考文件。依循其指引時可能會用到外部對比度檢查工具或色盲模擬器,但這些並未隨技能提供。

Color Accessibility

Table of Contents

Overview

Accessible color design ensures all users, including those with color vision deficiency, can access and understand information.

When to Use

  • Creating color palettes
  • Designing data visualizations
  • Testing interface designs
  • Status indicators and alerts
  • Form validation states
  • Charts and graphs

Quick Start

Minimal working example:

yaml
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)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Color Contrast Standards [blocked]Color Contrast Standards
Color Vision Deficiency Simulation [blocked]Color Vision Deficiency Simulation
Accessible Color Usage [blocked]Accessible Color Usage
Testing & Validation [blocked]Testing & Validation

Best Practices

✅ DO

  • Ensure 4.5:1 contrast minimum (WCAG AA)
  • Test with color blindness simulator
  • Use patterns or icons with color
  • Label states with text, not color alone
  • Test with real users with color blindness
  • Document color usage in design system
  • Choose accessible color palettes
  • Use sequential colors for ordered data
  • Validate all color combinations
  • Include focus indicators

❌ DON'T

  • Use color alone to convey information
  • Create low-contrast text
  • Assume users see colors correctly
  • Use red-green combinations
  • Forget about focus states
  • Mix too many colors (>5-8)
  • Use pure red and pure green together
  • Skip contrast testing
  • Assume AA is sufficient (AAA better)
  • Ignore color blindness in testing

來源與署名

來源:aj-geddes/useful-ai-prompts位於skills/color-accessibility提交3f5182c

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架