Check A11y banner
TilmanGriesel TilmanGriesel

Check A11y

Development community

Description

--- description: Report WCAG contrast for the theme and the minimal fix to reach AA argument-hint: "[--build dark|light|eink-dark|eink-light]" --- 1. Run `python3 tools/check_contrast.py --all` (or `--build <build>` if named in `$ARGUMENTS`). 2. For each failing or baseline-waived pair, report: build, UI element (pair name), resolved foreground/background hex, current ratio vs the required threshold. 3. For real failures, propose the minimal edit to the canonical `token-rgb-*` primitive that

Installation

Installs to ~/.claude/commands/tilmangriesel-graphite-check-a11y.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/TilmanGriesel/graphite/HEAD/.claude/commands/check-a11y.md -o ~/.claude/commands/tilmangriesel-graphite-check-a11y.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository