home / skills / 89jobrien / steve / web-accessibility

web-accessibility skill

/steve/skills/web-accessibility

This skill helps ensure WCAG 2.1/2.2 compliance, test screen reader compatibility, and improve keyboard navigation for inclusive web experiences.

npx playbooks add skill 89jobrien/steve --skill web-accessibility

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
3.4 KB
---
name: web-accessibility
description: Web accessibility compliance specialist. Use when conducting WCAG compliance
  audits, testing screen reader compatibility, validating keyboard navigation, or
  ensuring inclusive design. Focuses on WCAG 2.1/2.2 standards.
author: Joseph OBrien
status: unpublished
updated: '2025-12-23'
version: 1.0.1
tag: skill
type: skill
---

# Web Accessibility

This skill provides comprehensive web accessibility analysis and remediation, focusing on WCAG compliance, screen reader compatibility, and inclusive design.

## When to Use This Skill

- When conducting WCAG compliance audits
- When testing screen reader compatibility
- When validating keyboard navigation
- When analyzing color contrast
- When ensuring inclusive design
- When remediating accessibility issues

## What This Skill Does

1. **WCAG Compliance**: Assesses compliance with WCAG 2.1/2.2 (A, AA, AAA)
2. **Screen Reader Testing**: Validates semantic HTML and ARIA usage
3. **Keyboard Navigation**: Tests keyboard accessibility and focus management
4. **Color Contrast**: Analyzes color contrast ratios
5. **Alternative Text**: Evaluates alt text and media accessibility
6. **Form Accessibility**: Validates form labels and error handling

## How to Use

### Audit Accessibility

```
Conduct a WCAG compliance audit of this website
```

```
Test keyboard navigation and screen reader compatibility
```

### Specific Analysis

```
Check color contrast ratios and suggest improvements
```

## WCAG Standards

### Level A (Minimum)

- Text alternatives for images
- Captions for videos
- Keyboard accessible
- No seizure-inducing content
- Proper heading structure

### Level AA (Recommended)

- Color contrast ratio 4.5:1 (text)
- Resizable text up to 200%
- Multiple navigation methods
- Consistent navigation
- Error identification

### Level AAA (Enhanced)

- Color contrast ratio 7:1 (text)
- Sign language interpretation
- Extended audio descriptions
- No timing restrictions
- Context-sensitive help

## Examples

### Example 1: WCAG Audit

**Input**: Audit homepage for WCAG compliance

**Output**:

```markdown
## Accessibility Audit: Homepage

### Critical Issues (Level A)

**1. Missing Alt Text**
- **Location**: Hero image (line 45)
- **Issue**: Image has no alt attribute
- **Fix**: Add descriptive alt text
```html
<!-- Before -->
<img src="hero.jpg">

<!-- After -->
<img src="hero.jpg" alt="Team collaborating on project management dashboard">
```

**2. Missing Form Labels**

- **Location**: Email input (line 78)
- **Issue**: Input has no associated label
- **Fix**: Add proper label

```html
<!-- Before -->
<input type="email" id="email">

<!-- After -->
<label for="email">Email Address</label>
<input type="email" id="email" aria-required="true">
```

### Warnings (Level AA)

**3. Color Contrast**

- **Location**: Button text (line 92)
- **Issue**: Contrast ratio 3.2:1 (needs 4.5:1)
- **Fix**: Darken text color

```

## Best Practices

### Accessibility Guidelines

1. **Semantic HTML**: Use proper HTML elements
2. **ARIA When Needed**: Use ARIA for complex interactions
3. **Keyboard Access**: Ensure all functionality is keyboard accessible
4. **Color Contrast**: Meet WCAG contrast requirements
5. **Testing**: Test with screen readers and keyboard only

## Related Use Cases

- WCAG compliance audits
- Screen reader testing
- Keyboard navigation validation
- Color contrast analysis
- Inclusive design implementation

Overview

This skill is a web accessibility compliance specialist designed to evaluate and remediate websites against WCAG 2.1 and 2.2 standards. It identifies issues across semantic HTML, ARIA usage, keyboard navigation, color contrast, forms, and alternative text. The goal is to produce actionable findings and prioritized fixes so teams can achieve A/AA/AAA conformance as appropriate.

How this skill works

The skill inspects pages for WCAG success criteria, validating markup, ARIA attributes, and semantic structure. It runs automated checks for contrast ratios, missing alt text, and form labeling, and simulates keyboard-only navigation and common screen reader scenarios. Results are grouped by severity and WCAG level, with concrete remediation examples and code snippets where relevant.

When to use it

  • Conducting a formal WCAG 2.1/2.2 compliance audit for a site or app
  • Testing compatibility with screen readers and assistive technologies
  • Validating keyboard accessibility and focus management
  • Analyzing and correcting color contrast issues
  • Remediating accessibility defects before release or for ongoing maintenance

Best practices

  • Prefer semantic HTML; add ARIA only when native elements are insufficient
  • Ensure all interactive elements are reachable and operable by keyboard
  • Provide descriptive alt text and captions for non-text content
  • Meet WCAG contrast ratios (4.5:1 for normal text, 7:1 for AAA where required)
  • Test with real assistive technologies and include manual validation steps

Example use cases

  • Full WCAG audit of a marketing site to produce a prioritized remediation report
  • Run keyboard-only walkthroughs to surface focus traps and missing tabindex management
  • Evaluate product forms for correct labels, error identification, and ARIA assistive patterns
  • Check a design system for component-level accessibility regressions and fix patterns
  • Analyze hero images, icons, and media for appropriate alt text and captions

FAQ

Can this skill guarantee 100% automated compliance?

No. Automated checks catch many issues but manual testing (screen readers, keyboard workflows, cognitive accessibility review) is required for full assurance.

Which WCAG levels does the skill target?

It assesses Level A, AA, and AAA criteria and provides guidance on fixes appropriate to the desired conformance level.