-
Notifications
You must be signed in to change notification settings - Fork 6
Setup Document Cicd
github-actions[bot] edited this page Feb 23, 2026
·
1 revision
Configure an automated CI/CD pipeline that scans documents for accessibility issues on every push or PR that modifies document files. Generates pipeline configuration files, scan config, and setup instructions for your team.
- You want document accessibility to be automatically checked on every PR
- You want to prevent accessibility regressions from being merged
- You are setting up a new project and want accessibility gates from day one
- You need to demonstrate to auditors that accessibility is enforced in your development process
In GitHub Copilot Chat:
/setup-document-cicd
The agent collects your preferences interactively.
The agent asks which CI/CD platform to target:
-
GitHub Actions — generates
.github/workflows/document-a11y.yml -
Azure DevOps Pipelines — generates
azure-pipelines.yml - Generic CI — generates shell scripts compatible with any platform
| Profile | Rules | Severities | Best For |
|---|---|---|---|
| Strict | All rules | All severities | Public/government documents |
| Moderate | All rules | Errors and warnings | Good default for most teams |
| Minimal | Core rules | Errors only | Initial adoption, reducing noise |
- PR comment — post a summary as a PR comment so reviewers see it inline
- Build artifact — upload the full report as a downloadable artifact
- Fail the build — block merges when errors are found
- Slack/Teams notification — post to a channel when issues are found
GitHub Actions example (generated automatically):
name: Document Accessibility Check
on:
pull_request:
paths:
- '**/*.docx'
- '**/*.xlsx'
- '**/*.pptx'
- '**/*.pdf'
schedule:
- cron: '0 9 * * 1' # Weekly Monday 9am
jobs:
a11y-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Find changed documents
run: git diff --name-only HEAD~1 HEAD -- '*.docx' '*.xlsx' '*.pptx' '*.pdf' > changed-docs.txt
- name: Run accessibility scan
uses: taylorarndt/a11y-agent-team@main
- name: Upload report
uses: actions/upload-artifact@v4
with:
name: document-accessibility-report
path: DOCUMENT-ACCESSIBILITY-AUDIT.mdThe agent generates starter scan configuration files:
-
.a11y-office-config.json— Office document scan configuration -
.a11y-pdf-config.json— PDF scan configuration
Both use the selected profile.
The agent provides:
- How to trigger the first scan
- How to configure the fail threshold
- How to handle pre-existing issues (suppress baseline, only fail on new)
- How to update the scan configuration over time
/setup-document-cicd
→ Platform: GitHub Actions
→ Profile: Moderate
→ Notify: PR comment + fail on critical errors
→ Schedule: Weekly full scan on Mondays
| File | Contents |
|---|---|
.github/workflows/document-a11y.yml |
GitHub Actions pipeline (or Azure DevOps equivalent) |
.a11y-office-config.json |
Office scan configuration |
.a11y-pdf-config.json |
PDF scan configuration |
| Agent | Role |
|---|---|
| document-accessibility-wizard | Generates all pipeline and config files |
| document-inventory | Used to understand the document structure for CI config |
- audit-changed-documents — the prompt this pipeline runs on each commit
- audit-document-folder — the first full scan to establish your baseline
- Accessibility Lead
- Web Accessibility Wizard
- Document Accessibility Wizard
- Alt Text and Headings
- ARIA Specialist
- Contrast Master
- Forms Specialist
- Keyboard Navigator
- Link Checker
- Live Region Controller
- Modal Specialist
- Tables Data Specialist
- Word Accessibility
- Excel Accessibility
- PowerPoint Accessibility
- PDF Accessibility
- Office Scan Config
- PDF Scan Config
- Testing Coach
- WCAG Guide