use-of-color

Analyze code for WCAG 1.4.1 Use of Color compliance.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/aptxaptx/scamai-landing --skill use-of-color
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-of-color
Source: https://github.com/aptxaptx/scamai-landing/tree/main/.agents/skills/use-of-color
Command: npx skills add https://github.com/aptxaptx/scamai-landing --skill use-of-color

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies and rectifies instances where color is the sole means of conveying information in code, ensuring compliance with accessibility standards for all users.

Core Features & Use Cases

  • WCAG 1.4.1 Compliance: Detects violations of the "Use of Color" guideline.
  • Code Analysis: Scans code for color-only indicators in links, forms, status messages, and data visualizations.
  • Use Case: A developer can use this Skill to audit their web application's components, ensuring that users with color blindness can still understand critical information like error states or interactive elements.

Quick Start

Analyze the file '/src/components/Button.tsx' for WCAG 1.4.1 Use of Color violations.

Frequently Asked Questions about use-of-color

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my frontend code for WCAG 1.4.1 Use of Color violations?

To check frontend code for WCAG 1.4.1 Use of Color violations, analyze your source files to identify where color conveys information without additional visual indicators like text, icons, patterns, or ARIA attributes. This ensures compliance for users with color blindness.

What is the use of color requirement in WCAG accessibility?

The WCAG use of color requirement mandates that color is never the sole means of conveying information. Code analysis targets links, form validation, status indicators, and data visualizations to ensure alternative visual cues are provided for colorblind users.

How do I fix color-only status indicators in my web components?

Fix color-only status indicators by adding supplementary visual cues such as text labels, icons, patterns, or ARIA attributes. Analyzing code helps detect these accessibility gaps in forms and data visualizations to recommend appropriate additional indicators.

Can I audit my React components for color-only form validation errors?

Yes, you can audit React components for color-only form validation errors by analyzing the codebase. The analysis identifies validation states relying solely on color and recommends implementing text, icons, or ARIA attributes to meet WCAG a11y standards.

Does code analysis detect color-only links in frontend applications?

Yes, code analysis detects color-only links in frontend applications by scanning for anchor tags or interactive elements that rely exclusively on color differentiation. It then recommends adding underlines, icons, or other visual indicators to ensure WCAG 1.4.1 compliance.