audit-accessibility
Skill115 starsChanged 55 days agoApache-2.0View on GitHub
Unified accessibility auditing workflow across static analysis, runtime testing, ARIA patterns, keyboard navigation, and color contrast. Use this skill whenever the user mentions accessibility, a11y, WCAG, ARIA roles, axe tests, screen readers, focus management, keyboard navigation, color contrast, or wants to audit, verify, or fix accessibility on any component. Also use when writing or debugging .test.axe.ts files, checking tabindex management, or reviewing focus trapping behavior.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- kensaurus/cursor-kenjitheir own version, first seen Oct 1, 2026
- kensaurus/skillstheir own version, first seen Oct 1, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- kensaurus/cursor-kenji★ 9same name
- kensaurus/skills★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- projects/starters/angular/AGENTS.mdAGENTS.md
- projects/starters/bundles/AGENTS.mdAGENTS.md
- projects/starters/eleventy/AGENTS.mdAGENTS.md
- projects/starters/eleventy-ssr/AGENTS.mdAGENTS.md
- projects/starters/go/AGENTS.mdAGENTS.md
- projects/starters/go-htmx/AGENTS.mdAGENTS.md
- projects/starters/hugo/AGENTS.mdAGENTS.md
- projects/starters/importmaps/AGENTS.mdAGENTS.md
- projects/starters/lit-library/AGENTS.mdAGENTS.md
- projects/starters/mcp-app/AGENTS.mdAGENTS.md
- projects/starters/mpa/AGENTS.mdAGENTS.md
- projects/starters/nextjs/AGENTS.mdAGENTS.md
- projects/starters/nuxt/AGENTS.mdAGENTS.md
- projects/starters/react/AGENTS.mdAGENTS.md
- projects/starters/solidjs/AGENTS.mdAGENTS.md
- projects/starters/sphinx/AGENTS.mdAGENTS.md
- projects/starters/svelte/AGENTS.mdAGENTS.md
- projects/starters/typescript/AGENTS.mdAGENTS.md
- projects/starters/vue/AGENTS.mdAGENTS.md
- agent-availability-reportSkill
- agent-debug-ciSkill
- agent-dependenciesSkill
- agent-startersSkill
- agent-upkeepSkill
- agent-web-modernizationSkill
- audit-ciSkill
- audit-codeSkill
- audit-consolidationSkill
- audit-simplificationSkill
- authoring-benchmarksSkill
- authoring-componentsSkill
- authoring-documentationSkill
- authoring-examplesSkill
- authoring-patternsSkill
- authoring-projectsSkill
- authoring-testsSkill
- authoring-typescriptSkill
- elementsSkill
- github-dependabotSkill
- guidance-api-designSkill
- guidance-buildSkill
- guidance-webgpu-performanceSkill
- summarize-releasesSkill
- summarize-video-releasesSkill
- troubleshootingSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
When the user invokes this skill for a component, perform the following layers of accessibility verification:
- Very specific: line 17
Run ESLint on the component source and check for lit-a11y rule violations:
- Very specific: line 32
Verify <component>.test.axe.ts exists and covers all component variants:
- Distinctive: line 38
Check that the test:
- Very specific: line 56
Check if the component uses the keynav reactive controller from @nvidia-elements/core/internal:
- Distinctive: line 62
Verify keyboard interactions match the ARIA pattern:
- Distinctive: line 72
Check that the component uses theme tokens rather than hardcoded colors:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Accessibility Auditing
You MUST read projects/site/src/docs/internal/guidelines/testing-accessibility.md before proceeding.
Audit Scope
When the user invokes this skill for a component, perform the following layers of accessibility verification:
1. Static analysis (ESLint lit-a11y)
Run ESLint on the component source and check for lit-a11y rule violations:
cd projects/core && pnpm exec eslint --no-warn-ignored src/<component>/<component>.tsReview the component template for common issues:
- Missing
aria-labeloraria-labelledbyon interactive elements - Missing
roleattributes on custom interactive patterns - Images without
alttext - Form inputs without associated labels
2. Runtime testing (axe-core)
Verify <component>.test.axe.ts exists and covers all component variants:
Read path="projects/core/src/<component>/<component>.test.axe.ts"Check that the test:
- Imports
runAxefrom@internals/testing/axe - Tests every applicable status and size variant, plus the
disabledstate when the component supports it - Expects zero violations:
expect(results.violations.length).toBe(0) - Properly creates and removes fixtures
3. ARIA pattern verification
Identify which WAI-ARIA Authoring Practices pattern the component implements. Verify:
- Correct
roleattribute on the host or internal elements - Required ARIA states (
aria-expanded,aria-selected,aria-checked, etc.) - Proper
tabindexmanagement - Focus management for composite widgets
4. Keyboard navigation
Check if the component uses the keynav reactive controller from @nvidia-elements/core/internal:
Grep pattern="keynav|keyNavigationList|KeyNav" path="projects/core/src/<component>/"Verify keyboard interactions match the ARIA pattern:
- Arrow keys for navigation within composite widgets
- Enter/Space for activation
- Escape for dismissal
- Tab for focus entry/exit
- Home/End for first/last item
5. Color contrast (theme tokens)
Check that the component uses theme tokens rather than hardcoded colors:
Grep pattern="rgb|#[0-9a-fA-F]|hsl" path="projects/core/src/<component>/<component>.css"Flag any hardcoded color values. Verify CSS custom properties map to theme tokens that meet WCAG 2.1 AA contrast ratios (4.5:1 for normal text, 3:1 for large text).
Output
Present a structured report with:
- Pass/fail status
- Findings grouped by audit layer
- Specific remediation steps for each finding
- Commands to run the relevant tests
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

