Generate SEO-friendly image alt text that balances keyword optimization with web accessibility for better image search rankings.
π The Prompt
Act as an SEO and web accessibility expert. Write optimized alt text for images on the following webpage:
**Page URL or Topic:** [PAGE_URL_OR_TOPIC]
**Page Primary Keyword:** [PRIMARY_KEYWORD]
**Page Secondary Keywords:** [SECONDARY_KEYWORDS]
**Target Audience:** [TARGET_AUDIENCE]
Here are the images that need alt text:
1. [IMAGE_1_DESCRIPTION (e.g., "Screenshot of Google Analytics dashboard showing traffic data")]
2. [IMAGE_2_DESCRIPTION]
3. [IMAGE_3_DESCRIPTION]
4. [IMAGE_4_DESCRIPTION]
5. [IMAGE_5_DESCRIPTION]
For each image, provide:
**A. Primary Alt Text (Recommended):**
- 80-125 characters
- Accurately describe what the image shows
- Naturally incorporate a relevant keyword from [PRIMARY_KEYWORD] or [SECONDARY_KEYWORDS] where it fits organically
- Ensure it makes sense when read by a screen reader for accessibility compliance
**B. Alternative Version (Shorter):**
- 40-70 characters for cases where brevity is preferred
- Still descriptive and keyword-aware
**C. SEO Rationale:**
- Explain which keyword was integrated and why it's relevant to this specific image
- Note whether the image is a good candidate for Google Image Search traffic
Also provide:
**General Best Practices Section:**
- List 5 rules for writing effective alt text that balances SEO with accessibility
- Identify 3 common alt text mistakes to avoid (with examples of bad vs. good alt text)
- Recommend when to leave alt text empty (decorative images) and how to handle it in HTML
Ensure all alt text is descriptive, natural-sounding, and avoids keyword stuffing.
π‘ Tips for Better Results
Describe the image as if you're explaining it to someone who can't see itβaccuracy and clarity always come before keyword insertion. Avoid starting every alt text with 'Image of' or 'Photo of' as it adds unnecessary characters and sounds repetitive to screen readers. Use unique alt text for every image on the page; duplicating the same keyword-stuffed alt text across multiple images hurts both SEO and accessibility.
π― Use Cases
Web developers, content editors, and SEO beginners use this when publishing new pages or auditing existing content to ensure all images have descriptive, keyword-optimized alt attributes that comply with accessibility standards.