Documents · By Posit

Alt Text for Data Visualizations

Generate accessible descriptions for charts and images in your documents.

What it is

This skill helps you write high-quality alt text for data visualizations and images in your R packages or Quarto documents. It follows accessibility best practices to describe charts in a way that makes them understandable to people using screen readers. The skill analyzes your chart code and surrounding text to generate descriptions that capture both what the chart shows and the key insight it communicates.

What it does

  • Generates alt text for charts in R packages and Quarto documents following accessibility guidelines
  • Uses your actual chart code to identify exact variables, data patterns, and visual elements
  • Structures descriptions with chart type, data details, and key insights in plain language
  • Ensures alt text complements rather than duplicates your existing captions
  • Adapts description length and detail based on chart complexity

Use it when

  • You're publishing data visualizations and need to make them accessible to all readers
  • You have charts in documentation or articles that need screen-reader-friendly descriptions
  • You want to improve existing alt text to follow current best practices
  • You're auditing a Quarto document or R package site for accessibility compliance

Add this skill to your AI

Copy the source URL and ask your AI to add it. Most coding agents — Claude Code, Cursor, Codex, Gemini CLI, OpenCode, Windsurf — will fetch and install it for you.

Try this prompt:

Add this skill to my project: https://github.com/posit-dev/skills/tree/main/alt-text
Made byPosit
CategoryDocuments