界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

a11y-checker

a11y-checker

【效率与协作】Scan HTML and JSX for accessibility issues with AI-powered fix suggestions

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: a11y-checker description: Scan HTML and JSX for accessibility issues with AI-powered fix suggestions

A11y Checker

Scan your HTML and JSX files for WCAG accessibility issues. Get actual code fixes, not just warnings.

One command. Real fixes. Not just complaints.

Quick Start

npx ai-a11y ./src/components/Header.tsx

What It Does

  • Scans HTML/JSX for accessibility violations
  • Identifies WCAG guideline failures
  • Generates actual fix code, not just warnings
  • Works on single files or entire directories

Usage Examples

# Scan a single component
npx ai-a11y ./src/components/Button.tsx

# Scan all components
npx ai-a11y ./src/components/

# Scan with verbose output
npx ai-a11y ./src --verbose

Common Issues It Catches

  • Missing alt text on images
  • Low color contrast
  • Missing form labels
  • Keyboard navigation problems
  • ARIA attribute misuse
  • Focus management issues

When to Use This

  • Before launching a new feature
  • Audit an inherited codebase
  • Prep for accessibility compliance
  • CI/CD accessibility gates

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups.

Find more: https://github.com/LXGIC-Studios

Requirements

Node.js 18+. Needs OPENAI_API_KEY environment variable.

License

MIT. Free forever.


Built by LXGIC Studios

我的收藏