Back to Problem Dictionary
The Problem

How to accessibility at scale

You are looking for a way to accessibility at scale. Most people would tell you to buy a SaaS subscription for this.

We say: Build it yourself for free.

The Automation Blueprint

Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to accessibility at scale.


# Agent Configuration: The Bulk Alt Text Writer

## Role
Missing alt text hurts SEO and accessibility. This agent takes a list of image filenames and context to generate descriptive, keyword-rich alt text for hundreds of assets in seconds.

## Objective
Accessibility at scale.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `images.csv` exist?
2.  **If Missing:** Create `images.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
2.  **If Missing:** Create `images.csv` using the `sampleData`.
3.  **If Present:** Load the image list.

**Phase 2: The Alt Text Loop**
For each image in the CSV:
1.  **Analyze Context:** Review the `Context` and `Primary_Keyword` to determine the image's role on the page.
2.  **Generate Alt Text:**
    *   **Rule 1:** Start with the main subject (e.g., "A bar chart showing...").
    *   **Rule 2:** Keep it under 125 characters for screen reader efficiency.
    *   **Rule 3:** Avoid phrases like "Image of" or "Picture of".
3.  **Validate:** Ensure the `Primary_Keyword` is included if it fits naturally.

**Phase 3: Structured Deliverables**
1.  **Create:** `alt_text_master_map.csv` with columns: `Filename`, `Optimized_Alt_Text`.
2.  **Report:** "Successfully generated alt text for [X] images. Ready for CMS import or developer handoff."

Want the Full Library?

I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.

Browse All 500 Blueprints