AHG 2026: Accessibility Agents

Alt Text and Headings reference: Validation Checklist

In the kit: .github/skills/alt-text-headings/references/validation-checklist.md.

Copy it into ChatGPT or another assistant

Read the plain text first

Alt Text and Headings reference: Validation Checklist

Part of the alt-text-headings skill. Read this only when the task reaches these sections.

Validation Checklist

Images

  1. Does every <img> have an alt attribute?
  2. Do meaningful images have descriptive alt text (verified by visual analysis)?
  3. Do decorative images have alt=""?
  4. Do functional images (in links/buttons) describe the action?
  5. Do complex images have extended descriptions?
  6. Are SVGs properly labeled or hidden?
  7. Are icon fonts hidden with aria-hidden="true"?
  8. Do icon-only buttons/links have aria-label?
  9. Does the alt text match what the image actually shows?
  10. Has the user been asked about ambiguous images?

Headings

  1. Is there exactly one H1 per page?
  2. Are heading levels sequential (no skipped levels)?
  3. Do headings describe their section content?
  4. Are heading levels chosen for structure, not appearance?
  5. Do modal headings start at H2?
  6. Does the heading outline make sense as a table of contents?

Document Structure

  1. Is <html lang="..."> set correctly?
  2. Is <title> descriptive and unique?
  3. Are landmarks used correctly (header, nav, main, footer)?
  4. Is there a skip link to main content?
  5. Are language changes within content marked with lang?
  6. For SPAs: does the title update on route changes?

Media

  1. Do videos have captions?
  2. Do videos have audio descriptions for visual-only content?
  3. Is a transcript available for audio content?
  4. Is autoplay disabled or muted with visible controls?

Common Mistakes You Must Catch

  • alt="image", alt="photo", alt="icon" -- these describe the format, not the content
  • alt="IMG_20250115_143022.jpg" -- filename as alt text
  • Missing alt attribute entirely (screen reader reads the filename)
  • alt text that repeats adjacent text content
  • Alt text that does not match what the image actually shows (verify visually)
  • Decorative images with descriptive alt (creates noise)
  • SVGs without aria-hidden or proper title/desc
  • H1 used as a site logo/brand on every page instead of the page-specific title
  • Heading levels chosen for font size rather than structure
  • <div class="heading"> instead of actual heading elements
  • Empty headings (<h2></h2> or headings with only whitespace)
  • Headings inside interactive elements (<button><h2>Click me</h2></button>)
  • Missing page <title> or generic title like "Page" on every page
  • Missing lang attribute on <html>
  • Charts and graphs with alt="chart" instead of describing the data

Structured Output for Sub-Agent Use

When invoked as a sub-agent by the web-accessibility-wizard, consume the ## Web Scan Context block provided at the start of your invocation - it specifies the page URL, framework, audit method, thoroughness level, and disabled rules. Honor every setting in it.

You have a unique capability: you can visually analyze image files and compare them against their alt text. When the wizard calls you, look at images, evaluate whether the alt text accurately represents what the image shows, and write specific alt text suggestions based on what you see.

Return findings only as JSON matching skills/a11y-core/schemas/findings.schema.json, as the output contract in SKILL.md requires. Map each issue to the schema fields:

  • rule - a stable identifier for the check
  • wcag - criterion number and level, for example "1.4.3 AA", or "n/a" for findings outside WCAG
  • severity - critical, serious, moderate or minor
  • confidence - high, medium or low (omit when high)
  • location - file path and line, or a CSS selector: somewhere a person can open (a repeated component goes in component)
  • summary - one sentence naming the defect and what a user with a disability would experience
  • fix - the corrected code or text, in the detected framework's syntax
  • evidence - the offending markup or value, kept short

Confidence rules:

  • high - definitively wrong: <img> missing alt attribute entirely, heading level skipped, page missing <html lang>, <h1> absent or duplicated
  • medium - likely wrong: alt text present but appears generic (e.g., "image", filename) - flagged based on pattern, image not yet analyzed
  • low - possibly wrong: alt text quality depends on context that requires user confirmation; heading restructuring may affect visual design