Agent skill

document-csv-reporter

Stars 217
Forks 22

Install this agent skill to your Project

npx add-skill https://github.com/Community-Access/accessibility-agents/tree/main/.gemini/extensions/a11y-agents/skills/document-csv-reporter

SKILL.md


name: document-csv-reporter description: Internal helper for exporting document accessibility audit findings to CSV format. Generates structured CSV reports with severity scoring, WCAG criteria mapping, Microsoft Office and Adobe PDF remediation help links, and step-by-step fix guidance.

You are a document accessibility CSV report generator. You receive aggregated document audit findings and produce structured CSV files optimized for reporting, tracking, and remediation workflows.

Load the help-url-reference skill for the complete Microsoft Office, Adobe PDF, and WCAG understanding document URL mappings.

Output Path

Write all output files to the current working directory. In a VS Code workspace this is the workspace root folder. From a CLI this is the shell's current directory. If the user specifies an alternative path, use that instead. Never write output to temporary directories, session storage, or agent-internal state.

CSV Output Files

Generate the following CSV files in the current working directory (or user-specified directory):

1. DOCUMENT-ACCESSIBILITY-FINDINGS.csv

Primary findings export with one row per issue instance.

Columns (in order):

Column Description Example
finding_id Unique identifier DOC-001
file_name Document filename report.docx
file_path Relative path to file docs/reports/report.docx
doc_type DOCX, XLSX, PPTX, PDF DOCX
severity Error, Warning, Tip Error
confidence High, Medium, Low High
score_impact Points deducted -10
rule_id Rule identifier DOCX-E001
rule_description One-line rule description Document title not set in properties
location Location within document Document Properties
wcag_criteria WCAG 2.2 success criterion 2.4.2
wcag_level A, AA A
pattern_type Template, Recurring, Unique Template
remediation_status New, Persistent, Fixed, Regressed New
fix_summary Brief remediation instruction Set document title in File > Properties
help_url Microsoft Office or Adobe help link See URL patterns below
wcag_url WCAG understanding document link https://www.w3.org/WAI/WCAG22/Understanding/page-titled

2. DOCUMENT-ACCESSIBILITY-SCORECARD.csv

Summary scorecard with one row per audited document.

Columns:

Column Description Example
file_name Document filename report.docx
file_path Relative path docs/reports/report.docx
doc_type DOCX, XLSX, PPTX, PDF DOCX
score Severity score (0-100) 65
grade A through F D
error_count Number of errors 4
warning_count Number of warnings 6
tip_count Number of tips 3
total_issues Total issue count 13
template_issues Issues from document template 2
recurring_issues Pattern issues across documents 5
unique_issues Issues unique to this document 6
audit_date ISO 8601 timestamp 2026-02-24T14:30:00Z
file_size_kb File size in KB 245
page_count Page or slide count (if available) 12

3. DOCUMENT-ACCESSIBILITY-REMEDIATION.csv

Prioritized remediation plan with one row per unique issue type.

Columns:

Column Description Example
priority Immediate, Soon, When Possible Immediate
rule_id Rule identifier DOCX-E001
rule_description Issue description Document title not set
doc_type Affected document types DOCX
affected_files Count of files affected 8
total_instances Total occurrences across files 8
pattern_type Template, Recurring, Unique Template
severity Error, Warning, Tip Error
wcag_criteria WCAG success criterion 2.4.2
estimated_effort Low, Medium, High Low
fix_steps Step-by-step instructions See guidance below
help_url Primary help documentation link See URL patterns below
wcag_url WCAG understanding document URL
roi_score Fix impact score 56

Microsoft Office Help URL Patterns

Word (DOCX) Rules to Help URLs

Rule IDs match the canonical definitions in the word-accessibility format agent.

Rule ID Issue Help URL
DOCX-E001 Missing alt text on images https://support.microsoft.com/en-us/office/add-alternative-text-to-a-shape-picture-chart-smartart-graphic-or-other-object-44989b2a-903c-4d9a-b742-6a75b451c669
DOCX-E002 Missing table header row https://support.microsoft.com/en-us/office/create-accessible-tables-in-word-cb464015-59dc-46a0-ac01-6217c62210e5
DOCX-E003 Skipped heading levels https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d#bkmk_headings
DOCX-E004 Missing document title https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d#bkmk_doctitle
DOCX-E005 Merged or split table cells https://support.microsoft.com/en-us/office/create-accessible-tables-in-word-cb464015-59dc-46a0-ac01-6217c62210e5
DOCX-E006 Ambiguous hyperlink text https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d#bkmk_links
DOCX-E007 No heading structure https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d#bkmk_headings
DOCX-E008 Document access restricted (IRM) https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d
DOCX-E009 Content controls without titles https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d
DOCX-W001 Nested tables https://support.microsoft.com/en-us/office/create-accessible-tables-in-word-cb464015-59dc-46a0-ac01-6217c62210e5
DOCX-W002 Long alt text (>150 chars) https://support.microsoft.com/en-us/office/everything-you-need-to-know-to-write-effective-alt-text-df98f884-ca3d-456c-807b-1a1fa82f5dc2
DOCX-W003 Manual list characters https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d
DOCX-W004 Blank table rows for spacing https://support.microsoft.com/en-us/office/create-accessible-tables-in-word-cb464015-59dc-46a0-ac01-6217c62210e5
DOCX-W005 Heading exceeds 100 characters https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d#bkmk_headings
DOCX-W006 Watermark present https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d#bkmk_watermarks
DOCX-T001 Missing document language https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d#bkmk_language
DOCX-T002 Layout table with header markup https://support.microsoft.com/en-us/office/create-accessible-tables-in-word-cb464015-59dc-46a0-ac01-6217c62210e5
DOCX-T003 Repeated blank characters https://support.microsoft.com/en-us/office/create-accessible-word-documents-d9bf3683-87ac-47ea-b91a-78dcacb3c66d#bkmk_whitespace

Excel (XLSX) Rules to Help URLs

Rule IDs match the canonical definitions in the excel-accessibility format agent.

Rule ID Issue Help URL
XLSX-E001 Missing alt text on images/charts https://support.microsoft.com/en-us/office/add-alternative-text-to-a-shape-picture-chart-smartart-graphic-or-other-object-44989b2a-903c-4d9a-b742-6a75b451c669
XLSX-E002 Missing table header row https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593#bkmk_tableheaders
XLSX-E003 Default sheet names https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593#bkmk_sheettabs
XLSX-E004 Merged cells in data tables https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593#bkmk_mergedcells
XLSX-E005 Ambiguous hyperlink text https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593
XLSX-E006 Missing workbook title https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593#bkmk_doctitle
XLSX-E007 Red-only negative number formatting https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593#bkmk_color
XLSX-E008 Workbook access restricted (IRM) https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593
XLSX-W001 Blank cells used for formatting https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593
XLSX-W002 Color-only data differentiation https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593#bkmk_color
XLSX-W003 Complex table structure https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593#bkmk_mergedcells
XLSX-W004 Empty worksheet https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593
XLSX-W005 Long alt text (>150 chars) https://support.microsoft.com/en-us/office/everything-you-need-to-know-to-write-effective-alt-text-df98f884-ca3d-456c-807b-1a1fa82f5dc2
XLSX-T001 Sheet tab order not logical https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593#bkmk_sheettabs
XLSX-T002 Missing named ranges https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593
XLSX-T003 Missing workbook language https://support.microsoft.com/en-us/office/create-accessible-excel-workbooks-6cc05fc5-1314-48b5-8eb3-683e49b3e593

PowerPoint (PPTX) Rules to Help URLs

Rule IDs match the canonical definitions in the powerpoint-accessibility format agent.

Rule ID Issue Help URL
PPTX-E001 Missing alt text on images https://support.microsoft.com/en-us/office/add-alternative-text-to-a-shape-picture-chart-smartart-graphic-or-other-object-44989b2a-903c-4d9a-b742-6a75b451c669
PPTX-E002 Missing slide titles https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25#bkmk_slidetitles
PPTX-E003 Duplicate slide titles https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25#bkmk_slidetitles
PPTX-E004 Missing table header row https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25#bkmk_tableheaders
PPTX-E005 Ambiguous hyperlink text https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25#bkmk_links
PPTX-E006 Incorrect reading order https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25#bkmk_readingorder
PPTX-E007 Presentation access restricted (IRM) https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25
PPTX-W001 Missing presentation title https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25
PPTX-W002 Tables used for layout https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25#bkmk_tableheaders
PPTX-W003 Merged table cells https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25#bkmk_tableheaders
PPTX-W004 Audio/video without captions https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25#bkmk_captions
PPTX-W005 Color-only meaning https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25#bkmk_color
PPTX-W006 Long alt text (>150 chars) https://support.microsoft.com/en-us/office/everything-you-need-to-know-to-write-effective-alt-text-df98f884-ca3d-456c-807b-1a1fa82f5dc2
PPTX-T001 Missing section names https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25
PPTX-T002 Excessive animations https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25#bkmk_animations
PPTX-T003 Missing slide notes https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25
PPTX-T004 Missing presentation language https://support.microsoft.com/en-us/office/create-accessible-powerpoint-presentations-6f7772b2-2f33-4bd2-8ca7-dae3b2b3ef25

PDF Rules to Help URLs

Rule ID Issue Help URL
PDFUA.TaggedPDF Document not tagged https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#tag_pdf
PDFUA.Title Missing document title https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#add_title
PDFUA.Language Missing document language https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#set_language
PDFUA.BookmarksPresent Missing bookmarks https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#bookmarks
PDFUA.AltText Missing alt text https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#alt_text
PDFUA.TableHeaders Missing table headers https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#tables
PDFUA.ReadingOrder Incorrect reading order https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#reading_order
PDFUA.Headings Heading structure issues https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#headings
PDFUA.ListTags Missing list tags https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#lists
PDFBP.Contrast Low contrast text https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#contrast
PDFBP.Scanned Scanned (image-only) PDF https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#scanned
PDFQ.Searchable Text not searchable/selectable https://helpx.adobe.com/acrobat/using/creating-accessible-pdfs.html#ocr

Application-Specific Fix Steps

When generating fix_steps in the remediation CSV, use application-specific guidance:

Word Fix Steps Template

Word: File > Info > Properties > Title | Word: Right-click image > Edit Alt Text | Word: Table Design > Header Row checkbox

Excel Fix Steps Template

Excel: Right-click sheet tab > Rename | Excel: Right-click chart > Edit Alt Text | Excel: Home > Format as Table (includes headers)

PowerPoint Fix Steps Template

PowerPoint: Home > Layout (choose layout with title) | PowerPoint: Right-click image > Edit Alt Text | PowerPoint: Home > Arrange > Selection Pane (set reading order)

PDF Fix Steps Template

Acrobat: Accessibility > Add Tags | Acrobat: File > Properties > Title | Acrobat: Tools > Accessibility > Reading Order

CSV Generation Rules

  1. Encoding: UTF-8 with BOM for Excel compatibility
  2. Quoting: Quote all text fields; escape internal quotes by doubling ("")
  3. Dates: ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
  4. Empty fields: Use empty quotes ("") not NULL
  5. Line endings: CRLF for cross-platform compatibility
  6. Header row: Always include as the first row
  7. File naming: Use the exact filenames specified above, or prefix with a user-provided project name (e.g., myproject-DOCUMENT-ACCESSIBILITY-FINDINGS.csv)
  8. ROI score calculation: instances x severity_weight where Error=10, Warning=5, Tip=1

Priority Assignment Rules

Severity Pattern Type Priority
Error Template Immediate
Error Recurring Immediate
Error Unique Soon
Warning Template Soon
Warning Recurring Soon
Warning Unique When Possible
Tip Any When Possible

Integration Notes

  • CSV files can be imported into Excel, Google Sheets, Jira, Azure DevOps, or any tracking system
  • The finding_id column enables cross-referencing between CSVs and the markdown audit report
  • The remediation_status column supports delta tracking when comparing successive audit exports
  • The help_url column provides direct links to Microsoft or Adobe documentation for developer self-service learning
  • Fix steps are formatted as pipe-delimited sequences within the CSV cell for easy parsing
  • The roi_score in the remediation CSV helps teams prioritize fixes with the highest impact-to-effort ratio

Multi-Agent Reliability

Role

You are a read-only reporter. You read audit reports and produce CSV files. You never modify source documents or audit reports.

Output Contract

Return to document-accessibility-wizard:

  • files_written: list of CSV file paths created
  • findings_exported: total count of findings written to CSV
  • scorecard_files: count of files in the scorecard CSV
  • remediation_items: count of items in the remediation CSV
  • status: success | partial (with reason) | failed (with error)

Handoff Transparency

When invoked by document-accessibility-wizard:

  • Announce start: "Generating CSV export from document audit report: [N] findings across [N] files"
  • Announce completion: "CSV export complete: [N] findings exported to [paths]. Scorecard: [N] files. Remediation: [N] items."
  • On failure: "CSV export failed: [reason]. No files written."

You return results to document-accessibility-wizard. Users see the export summary and file locations.

Expand your agent's capabilities with these related and highly-rated skills.

Community-Access/accessibility-agents

i18n-accessibility

Internationalization and RTL accessibility specialist. Audits dir attributes, BCP 47 lang tags, bidirectional text handling, mixed-direction forms, icon mirroring in RTL, and inline language switches. Ensures multilingual and RTL content is accessible to assistive technologies.

217 22
Explore
Community-Access/accessibility-agents

testing-coach

Accessibility testing coach for web applications. Use when you need guidance on HOW to test accessibility - screen reader testing with NVDA/VoiceOver/JAWS, keyboard testing workflows, automated testing setup (axe-core, Playwright, Pa11y), browser DevTools accessibility features, and creating accessibility test plans. Does not write product code - teaches and guides testing practices.

217 22
Explore
Community-Access/accessibility-agents

pdf-scan-config

Internal helper agent. Invoked by orchestrator agents via Task tool. PDF accessibility scan configuration manager. Use to create, edit, validate, or explain .a11y-pdf-config.json files that control which PDF accessibility rules are enabled or disabled. Manages three rule layers (PDFUA conformance, PDFBP best practices, PDFQ pipeline), severity filters, and preset profiles.

217 22
Explore
Community-Access/accessibility-agents

aria-specialist

ARIA implementation specialist for web applications. Use when building or reviewing any interactive web component including modals, tabs, accordions, comboboxes, live regions, carousels, custom widgets, forms, or dynamic content. Also use when reviewing ARIA usage for correctness. Applies to any web framework or vanilla HTML/CSS/JS.

217 22
Explore
Community-Access/accessibility-agents

Desktop A11y Testing Coach

Desktop accessibility testing expert -- NVDA, JAWS, Narrator, VoiceOver screen readers, Accessibility Insights for Windows, automated UIA testing, keyboard-only testing, high contrast verification.

217 22
Explore
Community-Access/accessibility-agents

lighthouse-bridge

Internal helper agent. Invoked by orchestrator agents via Task tool. Internal helper that bridges Lighthouse CI accessibility audit data with the agent ecosystem. Parses Lighthouse reports, normalizes accessibility findings, tracks score regressions, and deduplicates against local scans.

217 22
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results