Skip to content
Back to skills

Accessibility Auditor

ASecurity

Audit HTML/JSX code against WCAG 2.1 guidelines and provide accessible ARIA code fixes.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 27, 2026
developmentjavascriptjavareactnodetesting

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 27, 2026

npx -y skills add RMAzrim/opencode-artes --skill accessibility-auditor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Accessibility Auditor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Accessibility Auditor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rmazrim-accessibility-auditor/badge)](https://www.skillsdirectory.com/skills/rmazrim-accessibility-auditor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Accessibility Auditor
description: Audit HTML/JSX code against WCAG 2.1 guidelines and provide accessible ARIA code fixes.
metadata:
  source: skills/accessibility-auditor/accessibility-auditor.md
---

# Accessibility Auditor

## Prerequisites & Dependencies
- Node.js 18+ (for running CLI tools) or a modern browser with DevTools
- Mandatory packages: `npm i axe-core @axe-core/react` or `npm i pa11y`
- Required environment variables: `NODE_ENV=development` (optional, for CI integration)

## Execution Steps
1. Install accessibility dependencies: `npm i axe-core @axe-core/react`
2. Create a test component that renders your UI with meaningful ARIA labels and semantic HTML
3. Run automated accessibility testing: `npx axe-cli ./src/index.js` or integrate with Jest via `jest-axe`
4. Review the report and apply suggested ARIA fixes (e.g., missing `aria-label`, `role=` attributes, color contrast ratios)
5. Manually keyboard-test your component (Tab navigation, Escape handling, focus management)
6. Verify fixes against WCAG 2.1 AA criteria: perceivable, operable, understandable, robust

```javascript
// Example: Accessible button with ARIA labels and keyboard handling
import React from 'react';

const AccessibleButton = ({ onClick, label }) => (
  <button
    onClick={onClick}
    aria-label={label}
    className="focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary"
  >
    {label}
  </button>
);

export default AccessibleButton;
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.