An accessibility toolkit for Claude Code and Claude Desktop that helps you check and fix WCAG 2.1 conformance issues in your codebase.
Via CLI:
claude plugin marketplace add accesslint/claude-marketplace
claude plugin install accesslint@accesslintOr manually via config file:
{
"plugins": [
{
"name": "accesslint",
"source": {
"source": "github",
"repo": "accesslint/claude-marketplace",
"path": "plugins/accesslint"
}
}
]
}If you only want the color contrast analysis tools for Claude Desktop:
{
"mcpServers": {
"accesslint": {
"command": "npx",
"args": ["-y", "@accesslint/mcp"]
}
}
}See the MCP Server repository for more details.
Comprehensive accessibility auditor that performs multi-step code reviews.
What it does:
- Scans your codebase for WCAG 2.1 Level A and AA conformance issues
- Navigates through codebases to understand full context
- Generates structured audit reports with prioritized issues
- Provides detailed reports with file locations, severity levels, and WCAG references
- Includes specific recommendations and code examples
Usage: Use the Task tool to invoke the agent directly:
// Example: Review a component for accessibility issues
Task({
subagent_type: "accesslint:reviewer",
prompt: "Review src/components/Button.tsx for accessibility issues"
})Tools available: Read, Glob, Grep, MCP tools for color contrast analysis
Interactive color contrast checker that calculates WCAG ratios and suggests accessible alternatives.
What it does:
- Calculates contrast ratios between foreground and background colors
- Checks compliance with WCAG AA and AAA standards
- Suggests accessible color alternatives that preserve design intent
- Provides detailed analysis for normal text, large text, and UI components
Usage: Invoke the skill directly:
// Example: Check if a color pair meets WCAG standards
Skill({ command: "accesslint:contrast-checker" })The skill provides an interactive prompt where you can:
- Enter foreground and background colors (hex, rgb, rgba)
- Specify content type (normal text, large text, UI component)
- Choose WCAG level (AA or AAA)
- Get color suggestions to fix violations
Automatically fixes accessibility issues across multiple files.
What it does:
- Identifies and fixes common accessibility issues across multiple files
- Adds missing alt text, ARIA labels, and semantic HTML
- Handles complex multi-file refactoring
- Implements proper ARIA patterns and semantic HTML
- Preserves functionality and code style
- Documents all changes with explanations
Usage: Invoke the skill directly:
// Example: Fix accessibility issues in a directory
Skill({ skill: "accesslint:refactor" })Tools available: Read, Write, Edit, Glob, Grep, Skill (can invoke contrast-checker skill for color analysis)
Analyzes code for WCAG 1.4.1 Use of Color compliance, identifying where color is the only means of conveying information.
What it does:
- Detects links distinguished only by color without underlines or icons
- Identifies form validation errors shown only with color
- Finds required fields marked only by color
- Checks status indicators using only color (success/error states)
- Analyzes interactive elements relying solely on color for hover/focus
- Reviews data visualizations using only color to differentiate data
Usage: Invoke the skill directly:
// Example: Check if components use color as the only indicator
Skill({ skill: "accesslint:use-of-color" })Tools available: Read, Glob, Grep
When the AccessLint plugin is installed, the following MCP tools are available to all agents and skills:
Calculate the WCAG contrast ratio between two colors.
Parameters:
foreground(string): Foreground color (#RGB, #RRGGBB, rgb(), rgba())background(string): Background color (same formats)
Returns: Contrast ratio as a number
Analyze a color pair for WCAG conformance with detailed pass/fail information.
Parameters:
foreground(string): Foreground colorbackground(string): Background colorcontentType(optional): "normal-text" | "large-text" | "ui-component"level(optional): "AA" | "AAA"
Returns: Detailed analysis with pass/fail for each content type
Get accessible color alternatives that meet WCAG requirements.
Parameters:
foreground(string): Current foreground colorbackground(string): Current background colortargetRatio(number): Target contrast ratio (e.g., 4.5 for normal text AA)preserve(optional): "foreground" | "background" | "both"
Returns: Color suggestions with contrast ratios
The plugin checks for Level A and AA conformance including:
- Perceivable: Alt text, semantic structure, color contrast
- Operable: Keyboard navigation, focus management, focus visibility
- Understandable: Clear labels, error identification, consistent behavior
- Robust: Proper ARIA usage, accessible names and roles
- Missing alt attributes and ARIA labels
- Invalid ARIA attributes or roles
- Missing or improperly associated form labels
- Improper heading hierarchy
- Non-semantic HTML usage
- Keyboard navigation issues
- Insufficient color contrast ratios
- WCAG 2.1 Guidelines
- WAI-ARIA Authoring Practices
- Claude Code Documentation
- MCP Server Repository
- NPM Package
MIT