spark-web: Skill for Cursor

.cursor/skills/check-accessibility/SKILL.md

check-accessibility is a skill for Cursor from leboncoin/spark-web. It costs 33 tokens per session (462 once invoked), scanned A, original, MIT.

An accessibility checking workflow for Spark UI components. Accessibility means making software usable by people with disabilities; the workflow checks WCAG 2.1 AA requirements, including keyboard use, labels, focus, and contrast.

In plain words
What is it for?
Use it to run automated Playwright and axe checks on components, then review semantic HTML, ARIA attributes, keyboard navigation, focus handling, and screen-reader behavior.
Why use it?
It helps find barriers that automated visual or functional tests may miss before a change is submitted.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is leboncoin/spark-web's own configuration. It tells Cursor how to work on spark-web itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spark-web configures →

Reuse

Borrowing it

Nothing to install: this file belongs to leboncoin/spark-web. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/leboncoin/spark-web/main/.cursor/skills/check-accessibility/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/leboncoin/spark-web

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for check-accessibility

README.md
[![agentmods](https://agentmods.dev/badge/skills/leboncoin/spark-web/check-accessibility/github.svg)](https://agentmods.dev/skills/leboncoin/spark-web/check-accessibility)
Your own site
<a href="https://agentmods.dev/skills/leboncoin/spark-web/check-accessibility"><img src="https://agentmods.dev/badge/skills/leboncoin/spark-web/check-accessibility/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for check-accessibility

Your own site · 80×15
<a href="https://agentmods.dev/skills/leboncoin/spark-web/check-accessibility"><img src="https://agentmods.dev/badge/skills/leboncoin/spark-web/check-accessibility.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00462
Opus 5.5 $0.00013 $0.00185
Sonnet 5.5 $0.00007 $0.00092
Haiku 4.5 $0.00003 $0.00046

Measured 1mo ago against content hash 5cf40511b432, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

check-accessibility scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/check-accessibility/SKILL.md · 65 lines

What it actually says

Check Accessibility

Verify that components meet WCAG 2.1 AA accessibility standards.

When to Use

  • User wants to check accessibility
  • User mentions "a11y", "accessibility", or "WCAG"
  • Component has accessibility issues
  • Before submitting a PR

Instructions

  1. Automated Testing:

    # 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.

  2. Manual Checks:

    • Verify semantic HTML elements
    • Check ARIA attributes are correct
    • Test keyboard navigation
    • Verify focus management
    • Test with screen readers
  3. Common Accessibility Requirements:

    • All interactive elements must be keyboard accessible
    • Proper ARIA labels and roles
    • Focus indicators visible
    • Color contrast meets WCAG AA (4.5:1 for text)
    • Semantic HTML structure
  4. Testing Tools:

    • @axe-core/playwright for automated testing
    • @testing-library/react for unit test accessibility
    • Browser DevTools Accessibility panel
    • Screen reader testing (NVDA, JAWS, VoiceOver)
  5. Fix Issues:

    • Add missing ARIA attributes
    • Fix keyboard navigation
    • Improve focus management
    • Fix color contrast
    • Use semantic HTML

Standards

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

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 65 lines · 33 tokens per session scan A 5cf40511b432

Subscribe to this mod's changes

check-accessibility is a skill published in the GitHub repository leboncoin/spark-web (94 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 462 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

test-component

Runs, analyzes, and fixes cross-framework interaction, visual-snapshot, aria-snapshot, and accessibility tests for a specific DB UX component's showcase pages.

db-ux-design-system/core-web · 34 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens

next-partial-prefetching-optimizer

Optimize what selected Next.js client navigations include before the click under Partial Prefetching. Use after Cache Components and Partial Prefetching are adopted when the user wants selected URL-specific UI to be instant, wants reusable content to wait for navigation, or needs to choose between default, viewport…

vercel/next.js · 82 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

chakra-ui-migrate

Migrate Chakra UI projects from v2 to v3, covering package changes, codemods, provider setup, color mode, prop renaming, compound components, theming, recipes, and Next.js updates. Use this skill whenever a user is upgrading Chakra UI versions, encountering breaking changes after an upgrade, converting old v2 patterns…

chakra-ui/chakra-ui · 137 tokens

chakra-ui-refactor

Review, convert, and improve UI code using Chakra UI v3. Use this skill whenever a user wants to review Chakra UI code for issues, convert plain HTML/CSS, Tailwind, CSS Modules, or styled-components to Chakra UI, clean up messy Chakra components, fix layout structure or token usage, or asks anything like "is this…

chakra-ui/chakra-ui · 139 tokens