accessibility-contrast-auditlisted
Install: claude install-skill Hosseinkm89/figma-skills
# Accessibility Contrast Audit
Measure color contrast across a page the way WCAG does, and drop the findings
into a tidy report page the whole team can read — with a click-to-jump link to
every frame that needs attention.
## When this fires
A designer says something like:
- "Check the color contrast on this page."
- "Is this screen AA compliant? What about AAA?"
- "Which of these frames pass and which fail?"
- "Run a contrast audit before I hand off."
- "Find the low-contrast text in this file."
- "Make me an accessibility contrast report."
## What it does (in plain terms)
For the **current page**, it looks at every top-level frame and:
1. **Scores text contrast.** Each run of text is compared against the background
color sitting behind it, then checked against the WCAG ratios:
- **AA** (1.4.3): 4.5:1 for normal text, 3:1 for large text.
- **AAA** (1.4.6): 7:1 for normal text, 4.5:1 for large text.
- *Large* means 24px+ regular or 18.66px+ bold (WCAG's 18pt / 14pt-bold rule).
2. **Flags UI/non-text contrast.** Visible solid strokes — input borders,
dividers, button outlines, icon strokes — are checked against the 3:1
non-text rule (1.4.11). This is a **heuristic flag for manual review**, not a
guarantee; decorative graphics are out of scope (see references).
3. **Gives each frame a verdict.** A frame passes a level only if *every* text
run inside it meets that level. Results roll up to one PASS / FAIL / N/A badge
per level, per frame.
4. **Wr