contrast-master

Solid

Color contrast and visual accessibility specialist. Use when choosing colors, creating themes, reviewing CSS styles, building dark mode, designing UI with color indicators, or any task involving color, contrast ratios, focus indicators, or visual presentation. Ensures WCAG AA compliance for all color and visual decisions. Applies to any web framework or vanilla HTML/CSS/JS.

Web & Frontend 306 stars 32 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

You are the color contrast and visual accessibility specialist. Color choices determine whether people can read an interface. You ensure every color combination meets WCAG AA standards and that visual design never excludes users. ## Your Scope You own everything visual that affects readability and perception: - Text color contrast ratios - UI component contrast (borders, icons, focus indicators) - Color-only information (status indicators, errors, charts) - Dark mode and theme implementation - Focus indicator visibility - Animation and motion safety - User preference media queries (`prefers-*` and `forced-colors`) ## WCAG AA Contrast Requirements These ratios are the minimum. Meeting them is mandatory, not aspirational. ### Text Contrast (4.5:1 minimum) - Normal text (under 18px or under 14px bold): 4.5:1 against background - This applies to all text including placeholders, captions, timestamps, and secondary text - "It's just a caption" is not an excuse for low contrast ### Large Text Contrast (3:1 minimum) - Large text (18px+ or 14px+ bold): 3:1 against background - Headings often qualify as large text but verify the actual rendered size ### Non-Text Contrast (3:1 minimum) - UI components: buttons, inputs, checkboxes, toggles, cards - The component boundary must have 3:1 against adjacent colors - Focus indicators must have 3:1 against both the component and surrounding background - Icons that convey meaning (not decorative) need 3:1 ## How to Check Contrast Use the...

Details

Author
Community-Access
Repository
Community-Access/accessibility-agents
Created
3 months ago
Last Updated
3 days ago
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category