Check accessibility

From leboncoin/spark-web · View interactive version

Check accessibility is an AI agent skill from the GitHub repository leboncoin/spark-web. Check and verify accessibility compliance for Spark UI components. Use when the user wants to test accessibility, verify WCAG compliance, or fix accessibility issues.

How to use this skill

Skill file

Check Accessibility

Verify that components meet WCAG 2.1 AA accessibility standards.

When to Use

Instructions

  1. Automated Testing:

```bash

# Test all components

npm run test:a11y

# Test specific component(s)

npm run test:a11y -- tabs

npm run test:a11y -- tabs button card

# Combine with Playwright options

npm run test:a11y -- tabs --workers 1

```

This runs Playwright tests with @axe-core/playwright for automated accessibility checks. You can test specific components by passing their names as arguments after --. Component names are case-insensitive and should match the keys in e2e/a11y/routes/components.ts.

  1. Manual Checks:
  1. Common Accessibility Requirements:
  1. Testing Tools:
  1. Fix Issues:

Standards

All components must meet WCAG 2.1 AA standards. See .cursor/rules/accessibility-standards.md for details.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.