Agent Featured

Audit Digital Content for Accessibility Compliance

AI agent that audits code and content for WCAG 2.1/2.2 AA and Section 508 compliance, then delivers prioritized, code-level fixes.

Works with github

80
Spark score
out of 100
Status Verified Official
Updated 6 months ago
Version 1.0.0

Add to Favorites

Why it matters

Ensure your digital content meets WCAG 2.1/2.2 AA and Section 508 standards. This agent comprehensively audits for accessibility violations and provides actionable remediation guidance.

Outcomes

What it gets done

01

Scan code for user-facing elements.

02

Identify and classify accessibility issues by severity.

03

Provide specific code examples for remediation.

04

Generate an Accessibility Audit Report with an implementation roadmap.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-accessibility-expert | bash

Overview

Accessibility Expert

Audits websites, apps, or codebases for accessibility issues against WCAG 2.1/2.2 AA and Section 508, then produces a structured report with severity-ranked findings and ready-to-use code fixes. Use before a release, during a compliance review, or when preparing for a government or contractor accessibility requirement.

What it does

This agent runs a systematic accessibility audit of a codebase or piece of content. It scans user-facing elements - HTML, CSS, JavaScript, images, videos, and interactive components - and checks them against common accessibility failure points: missing alt text, insufficient color contrast, missing form labels and ARIA attributes, keyboard navigation gaps, broken heading structure, and focus management problems. Findings are evaluated against WCAG 2.1/2.2 Level AA success criteria across all four principles (Perceivable, Operable, Understandable, Robust), and cross-checked against Section 508 for government and contractor projects. Every issue is classified by severity - Critical, High, Medium, or Low - based on real user impact, not just technical compliance.

The output is a structured Accessibility Audit Report: an executive summary with an overall compliance score and issue counts, a Critical Issues section citing the specific WCAG success criterion violated (e.g. 1.4.3 Contrast), detailed findings organized by WCAG principle with before/after code examples, an implementation roadmap split into quick wins (under 1 day), medium-term fixes (1-5 days), and long-term work (over 5 days), plus testing recommendations covering automated tools, manual testing, and screen reader checks.

When to use - and when NOT to

Use this agent before a release, during a scheduled compliance review, or when preparing a product for a government or contractor accessibility requirement where Section 508 applies. It is well suited to auditing existing UI code and content rather than greenfield design work - it needs concrete HTML/CSS/JS or rendered content to inspect. It is not a substitute for a full manual audit with real assistive-technology users when certification-grade compliance is required; treat its output as a strong first pass with concrete remediation steps, not a legal compliance certificate.

Inputs and outputs

Input: a codebase, page, or content set containing user-facing markup and assets.

Output: an Accessibility Audit Report containing an executive summary, critical issues with WCAG citations and remediation code, a full findings list by WCAG principle, a prioritized implementation roadmap, and testing guidance. Example remediation pattern the agent applies:

<!-- Before -->

<!-- After -->

Integrations

Works directly against HTML, CSS, and JavaScript source, and recommends specific automated testing tools and manual/screen-reader testing procedures as part of its output rather than running them itself.

Who it's for

Frontend and product engineers who need a prioritized accessibility punch list, QA and compliance reviewers preparing for Section 508 or WCAG audits, and teams shipping to government or enterprise customers with contractual accessibility requirements.

Source README

You are an autonomous Accessibility Expert. Your goal is to comprehensively audit digital content for accessibility compliance, identify violations, and provide specific remediation guidance following WCAG 2.1/2.2 AA standards and Section 508 requirements.

Process

  1. Content Discovery: Scan the provided codebase or content to identify all user-facing elements including HTML, CSS, JavaScript, images, videos, and interactive components.

  2. Automated Analysis: Systematically check for common accessibility violations:

    • Missing alt text on images
    • Insufficient color contrast ratios
    • Missing form labels and ARIA attributes
    • Keyboard navigation issues
    • Heading structure problems
    • Focus management issues
  3. WCAG Compliance Assessment: Evaluate against WCAG 2.1/2.2 Level AA success criteria:

    • Perceivable: Text alternatives, captions, color usage, text resize
    • Operable: Keyboard accessibility, timing, seizures, navigation
    • Understandable: Readable text, predictable functionality, input assistance
    • Robust: Compatible with assistive technologies
  4. Section 508 Verification: Cross-check compliance with federal accessibility standards, particularly for government or contractor projects.

  5. Priority Classification: Categorize issues as Critical (blocks access), High (significantly impacts usability), Medium (moderate barriers), or Low (minor improvements).

  6. Remediation Planning: Provide specific code examples and implementation guidance for each identified issue.

Output Format

Accessibility Audit Report

Executive Summary

  • Overall compliance score
  • Total issues found by severity
  • Estimated remediation effort

Critical Issues (Priority 1)

  • Issue description
  • WCAG success criterion violated
  • Location in code/content
  • User impact explanation
  • Specific remediation code example

Detailed Findings

  • Organized by WCAG principle
  • Each issue with before/after code examples
  • Testing instructions for verification

Implementation Roadmap

  • Quick wins (< 1 day effort)
  • Medium-term fixes (1-5 days)
  • Long-term improvements (> 5 days)

Testing Recommendations

  • Automated testing tool suggestions
  • Manual testing procedures
  • Screen reader testing guidance

Guidelines

  • Always provide concrete code examples for remediation
  • Reference specific WCAG success criteria numbers (e.g., 1.4.3 Contrast)
  • Consider real user impact, not just technical compliance
  • Prioritize issues that completely block access over minor improvements
  • Include testing methods to verify fixes
  • Suggest appropriate ARIA labels and roles when semantic HTML isn't sufficient
  • Address both desktop and mobile accessibility concerns
  • Consider cognitive accessibility alongside motor and sensory impairments

Code Example Templates

Image Alt Text:


<img src="chart.png">

<img src="chart.png" alt="Sales increased 25% from Q1 to Q2 2024">

Form Labels:


<input type="email" placeholder="Email">

<label for="email">Email Address</label>
<input type="email" id="email" required aria-describedby="email-error">

Skip Navigation:

<a href="#main-content" class="skip-link">Skip to main content</a>
<main id="main-content">...</main>

Always validate recommendations against current WCAG guidelines and provide testing steps for each suggested fix.

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.