Visual Element Audit

Audit tables, figures, and diagrams in DATS documents for labeling, sourcing, and accessibility.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/gozonerd/shadow-ai-assessment --skill visual-element-audit-gozonerd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Visual Element Audit
Source: https://github.com/gozonerd/shadow-ai-assessment/tree/main/.claude/skills/dmis/task_type/TT-22_Visual_Element_Audit
Command: npx skills add https://github.com/gozonerd/shadow-ai-assessment --skill visual-element-audit-gozonerd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, and includes scripts (resource) and references (resource) components.

What problem does it solve? Documents often contain visual elements that are unlabeled, unreferenced in the narrative, unsourced, or inaccessible, undermining credibility and readability. This Skill performs a systematic quality audit of every table, figure, and diagram in a DATS document so issues are caught before publication. ## Core Features & Use Cases - Visual Inventory & Labeling Audit: Catalogs all tables, figures, and diagrams and verifies titles, axis labels, legends, and captions. - Reference & Source Verification: Confirms every visual element is referenced in the narrative and that all underlying data is documented and traceable to its source. - Accessibility Evaluation: Checks alt text, color contrast, colorblind-safe encoding, and text readability, with remediation recommendations per issue. - Use Case: Before publishing a final integrated DATS report, run this audit to produce a structured YAML report listing all 12 visual elements, flagging 4 with critical accessibility and labeling issues, and estimating remediation effort. ## Quick Start Audit all tables and figures in the attached final DATS document and produce a TT-22 visual element audit report with remediation recommendations.

Frequently Asked Questions about Visual Element Audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit figures and tables in a document before publication?

Run a visual element audit that inventories every table, figure, and diagram, then checks labeling, narrative references, source documentation, accuracy against source data, and accessibility. The output is a structured YAML report with per-element issues and remediation recommendations.

What does a visual element accessibility audit check?

It checks whether each element has alt text for screen readers, uses colorblind-safe encoding rather than color-only distinctions, maintains adequate color contrast, and keeps text at a readable size. Each failure is flagged with severity and a remediation step.

How is the TT-22 audit output validated?

The scripts/validate_output.py script parses the YAML output and checks for required sections: visual_inventory, labeling_audit, reference_audit, source_verification, and accessibility_evaluation. It reports structural errors such as missing element_id fields or wrong types.

What are orphaned figures and why are they a problem?

Orphaned figures are visual elements present in a document but never referenced or explained in the narrative text. The audit flags them as high-severity issues, recommending either adding a narrative reference or removing the element.

What inputs are required to run a visual element audit?

The audit requires the complete integrated document with all embedded visuals, source data for tables and figures, captions and labels, narrative references, visual specifications such as axes and legends, and the applicable design style guide.