Media & Accessibility Custom Skills · Curated

Color Contrast Checker

Flags text and background color combinations across the site that fail WCAG contrast minimums.

What it does

Reads the color values a theme actually renders with (theme.json palette, block-level color settings, or stylesheet variables), computes the WCAG contrast ratio for each foreground/background pairing in use, and flags anything below 4.5:1 for normal text or 3:1 for large text and UI components. Produces a list of specific element/color pairs to fix rather than a general accessibility score.

Install

This skill isn't packaged in an installable registry. It's a plain SKILL.md file you can copy directly. Copy it from the SKILL.md tab and save it at the path for your assistant:

Use it in your AI assistant

Claude Code

.claude/skills/color-contrast-checker/ (or ~/.claude/skills/color-contrast-checker/ for all projects)

GitHub Copilot (VS Code)

.github/skills/color-contrast-checker/

OpenAI Codex

.codex/skills/color-contrast-checker/

Cursor

.cursor/skills/color-contrast-checker/ (or ~/.cursor/skills/color-contrast-checker/ globally)

Compatibility

Works best on block themes with a theme.json palette. Classic themes require the agent to read color values directly from the stylesheet.