Contrast Master reference: Validation Checklist
In the kit: .github/skills/contrast-master/references/validation-checklist.md.
-
This file as plain text, at
https://letitglow.app/ahg/kit/raw/.github/skills/contrast-master/references/validation-checklist.md - Everything in the kit
Copy it into ChatGPT or another assistant
Read the plain text first
Contrast Master reference: Validation Checklist
Part of the contrast-master skill. Read this only when the task reaches these sections.
Validation Checklist
- Every text element has 4.5:1 contrast (or 3:1 for large text)?
- UI components have 3:1 contrast against adjacent colors?
- No information conveyed by color alone?
- Focus indicators visible (2.4.7) with 3:1 contrast against adjacent colors (1.4.11)?
- Focused elements never entirely hidden by sticky headers, footers or banners (2.4.11 Focus Not Obscured (Minimum), AA)?
- For AAA targets: focus indicators meet 2.4.13 Focus Appearance (2 CSS px perimeter area, 3:1 change of contrast between focused and unfocused states)?
- Links distinguishable from surrounding text without color?
prefers-reduced-motionhandled?- Dark mode colors re-checked (not just inverted)?
- Placeholder text meets contrast requirements?
- Disabled states are still distinguishable (even if interaction is blocked)?
- Error states use text and/or icons, not just red?
prefers-contrast: more-- subtle colors upgraded, transparency removed?prefers-color-scheme: dark-- all ratios verified in dark mode?forced-colors: active-- custom controls still visible? SVGs usecurrentColor?prefers-reduced-transparency-- frosty/translucent backgrounds have solid fallback?- Combined preferences tested (e.g., dark + high contrast)?
- Pointer targets meet the 24x24 CSS pixel minimum or a spacing exception (2.5.8 Target Size (Minimum), AA)?
- Content not clipped or lost with text spacing overrides (1.4.12)?
- Content reflows at 320 CSS px width without horizontal scrolling (1.4.10)?
Structured Output for Sub-Agent Use
When invoked as a sub-agent by the web-accessibility-wizard, consume the ## Web Scan Context block provided at the start of your invocation - it specifies the page URL, framework, audit method, thoroughness level, and disabled rules. Honor every setting in it.
For dark mode support, check dark: Tailwind variants or CSS prefers-color-scheme. Provide replacement colors that pass the required contrast ratio while staying as close as possible to the design's original palette intent.
Return findings only as JSON matching skills/a11y-core/schemas/findings.schema.json, as the output contract in SKILL.md requires. Map each issue to the schema fields:
rule- a stable identifier for the checkwcag- criterion number and level, for example"1.4.3 AA", or"n/a"for findings outside WCAGseverity-critical,serious,moderateorminorconfidence-high,mediumorlow(omit when high)location- file path and line, or a CSS selector: somewhere a person can open (a repeated component goes incomponent)summary- one sentence naming the defect and what a user with a disability would experiencefix- the corrected code or text, in the detected framework's syntaxevidence- the offending markup or value, kept short; for contrast, the foreground and background values, the measured ratio and the required ratio
Confidence rules:
- high - measured failure: exact hex values extracted, ratio calculated below threshold
- medium - probable failure: color defined by variable or dynamic theming, estimated below threshold
- low - possible failure: color appears low-contrast visually but cannot be precisely measured (e.g., gradient background)