AccessLintによる包括的アクセシビリティスイート。WCAG 2.1レビューエージェント、コントラストチェッカー、a11yリファクタリング、色使用チェック。MCP統合でコントラスト比計算とアクセシブルな色提案を提供。
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@accesslint
Or 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.
accesslint:reviewer - Accessibility Code ReviewerComprehensive accessibility auditor that performs multi-step code reviews.
What it does:
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
accesslint:contrast-checker - Color Contrast AnalysisInteractive color contrast checker that calculates WCAG ratios and suggests accessible alternatives.
What it does:
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:
accesslint:refactor - Accessibility Refactoring SpecialistAutomatically fixes accessibility issues across multiple files.
What it does:
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)
accesslint:use-of-color - WCAG Use of Color CheckerAnalyzes code for WCAG 1.4.1 Use of Color compliance, identifying where color is the only means of conveying information.
What it does:
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:
mcp__plugin_accesslint_accesslint__calculate_contrast_ratioCalculate 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
mcp__plugin_accesslint_accesslint__analyze_color_pairAnalyze 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
mcp__plugin_accesslint_accesslint__suggest_accessible_colorGet 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:
MIT