-
Notifications
You must be signed in to change notification settings - Fork 6
Office Scanning
github-actions[bot] edited this page Feb 23, 2026
·
2 revisions
The scan_office_document MCP tool scans DOCX, XLSX, and PPTX files by parsing their ZIP/XML structure. No external dependencies required.
| Format | Rules | Key Checks |
|---|---|---|
| DOCX | 16 rules (DOCX-E*, DOCX-W*, DOCX-T*) | Alt text, headings, table headers, language, document title, color-only formatting, empty paragraphs, font sizes |
| XLSX | 14 rules (XLSX-E*, XLSX-W*, XLSX-T*) | Sheet names, merged cells, header rows, chart alt text, defined names, hidden sheets, input messages |
| PPTX | 16 rules (PPTX-E*, PPTX-W*, PPTX-T*) | Slide titles, reading order, alt text, table headers, audio/video, language, font sizes, speaker notes |
# Claude Code
/word-accessibility scan docs/report.docx
/excel-accessibility check data/budget.xlsx
/powerpoint-accessibility review slides/deck.pptx
# Copilot
@word-accessibility scan the annual report
@excel-accessibility check the spreadsheet template
@powerpoint-accessibility review the training presentation
- SARIF (default) - Machine-readable, compatible with GitHub Code Scanning
- Markdown - Human-readable report with severity, rule explanations, and remediation guidance
The CI scanner at .github/scripts/office-a11y-scan.mjs:
- Discovers documents recursively (skipping
node_modules,.git,vendor) - Applies
.a11y-office-config.jsonif present - Outputs SARIF 2.1.0 reports
- Emits GitHub Actions
::error::and::warning::annotations - Exits with code 1 if error-severity findings are detected
- name: Scan Office documents for accessibility
run: node .github/scripts/office-a11y-scan.mjs- 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