Write SEO-Optimized Image Alt Text for Better Visibility
Create SEO-friendly, accessible image alt text with optimized variations, accessibility compliance, and a reusable style guide.
π The Prompt
Act as an SEO and web accessibility expert. Write optimized image alt text for the images on my website that improves both search engine visibility and ADA/WCAG accessibility compliance.
**Website/Page URL:** [PAGE URL]
**Page Topic/Title:** [PAGE TOPIC]
**Primary Page Keyword:** [PRIMARY KEYWORD]
**Image Details** (provide for each image):
- Image [NUMBER]: [DESCRIBE WHAT THE IMAGE SHOWS]
- Image Context: [WHERE ON THE PAGE IS IT AND WHAT CONTENT SURROUNDS IT]
- Image Purpose: [DECORATIVE / INFORMATIONAL / FUNCTIONAL (e.g., button, link)]
- Current Alt Text (if any): [CURRENT ALT TEXT]
For each image, complete the following:
1. **Evaluate the current alt text** (if provided):
- Is it descriptive enough for screen reader users?
- Does it incorporate relevant keywords naturally?
- Is it the appropriate length (recommended: 5-15 words)?
- Does it avoid common mistakes (keyword stuffing, starting with "image of", being too vague)?
2. **Write 3 optimized alt text variations** for each image that:
- Accurately describe the image content and function
- Naturally include relevant keywords without stuffing
- Stay within 125 characters (screen reader best practice)
- Match the surrounding content context
- Follow WCAG 2.1 accessibility guidelines
3. **Select the best variation** for each image and explain why it balances SEO value with accessibility.
4. **Provide a quick-reference alt text style guide** with:
- Do's and Don'ts (at least 5 each)
- Decision tree: When to use alt text vs. empty alt ("") for decorative images
- Image file naming conventions that complement alt text SEO
5. **Bonus**: Suggest any images that could benefit from structured data markup (e.g., Product, Recipe, HowTo) for rich result eligibility.
π‘ Tips for Better Results
Describe the image's content and function rather than its appearanceβ'team brainstorming product ideas on whiteboard' is far more useful than 'group of people in office.' Leave the alt attribute empty (alt="") for purely decorative images like background patterns so screen readers skip them, improving the experience for visually impaired users.
π― Use Cases
Web developers, content creators, and SEO specialists use this when launching new pages, performing site-wide accessibility audits, or optimizing image-heavy content like product pages, portfolios, and blog posts for Google Image Search.