Back to skills
SKILL.md
Accessibility Auditor
ASecurityAudit 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
Works with
Security analysis
92/100- Installs packages at runtime which could introduce malicious dependencies
npx -y skills add RMAzrim/opencode-artes --skill accessibility-auditor --agent claude-codeAre you the author of Accessibility Auditor?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/rmazrim-accessibility-auditor)---
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
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.