Catch real-DOM contrast failures, missing ARIA labels, and EU European Accessibility Act (Directive 2019/882) regressions before merge. Pay only per audited page ($0.49/page) with a hard max_cost_usd spend ceiling and zero monthly SaaS retainer.
Add your Apify token as APIFY_TOKEN in repository secrets and paste this into .github/workflows/accessfix-wcag.yml:
name: WCAG 2.2 & EU EAA Accessibility Check
on:
pull_request:
branches: [main]
jobs:
accessibility-audit:
runs-on: ubuntu-latest
steps:
- name: Run AccessFix WCAG 2.2 AA Audit
uses: syncforgecloud/accessfix-github-action@v1
with:
apify_token: ${{ secrets.APIFY_TOKEN }}
urls: |
https://your-staging-site.com
https://your-staging-site.com/pricing
max_pages: '5'
max_cost_usd: '5.00'
fail_on_critical: 'false'
max_cost_usd is clamped between $0.50 and $25.00 so runaway PR loops never cause surprise bills.#RRGGBB W3C contrast values and HTML/ARIA patches directly in the PR Job Summary.