Image Alt Text Basics for SEO and Accessibility
Describe the purpose
Good alt text explains why the image is on the page. A product image may need the product name, color, and visible feature. A decorative image may need empty alt text so screen readers can skip it.
Avoid keyword stuffing
Search engines and users benefit from accurate descriptions. Repeating keywords or writing vague phrases like image of picture does not help. Keep descriptions concise and specific.
Pair text with optimization
Alt text is separate from file size work, but both affect the quality of a page. Compress and resize the image for performance, then write alt text that helps people understand the content.
How PixelXTrim can help
After you understand the format, size, or quality decision, use PixelXTrim to test the change on a copy of your image. Preview the result, download it, and check the final file in the place where it will be published.