56 / 74 · 10 Visual & Accessibility Testing · AI Agents for Accessibility Audits← prev⊞ allnext →☰ Read as one page
10.5Combining Automated and AI Audits in CI
# .github/workflows/a11y-audit.yml
name: Accessibility Audit
on:
schedule:
- cron: '0 6 * * 1' # Weekly Monday
workflow_dispatch:
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build && npm run start &
- name: Run automated + AI audit
run: |
python scripts/ai_accessibility_audit.py \
--base-url http://localhost:3000 \
--max-pages 50 \
--output audit-report.json
- name: Generate HTML report
run: python scripts/generate_a11y_report.py audit-report.json
- name: Upload report
uses: actions/upload-artifact@v4
with:
name: accessibility-audit
path: audit-report.html
AI accessibility audits complement, not replace, rule-based tools. Use axe-core for fast, deterministic checks on every PR. Use AI agents for deeper qualitative analysis on a weekly or per-release schedule. Use human experts for the full-spectrum audit that neither automation nor AI can fully replicate.