◦ Comprehensive security
◦ 24/7 support
WordPress Guide → Images → Add Alt Tags
How to add alt tags to images in WordPress
Alt text isn’t just a checkbox for SEO—it’s a key part of accessibility, content clarity, and image performance. If you’re uploading images to WordPress without filling in the “alt” field, you’re leaving value on the table.
Image alt text (alternative text) is a short description added to an image’s HTML code that explains the image’s content and purpose. It’s used by screen readers to help visually impaired users understand visual elements, and it also helps search engines index images for SEO. If the image fails to load, the alt text appears in its place as a fallback.
Get fast, reliable hosting for WordPress
Power your site with the industry’s fastest, most optimized WordPress hosting
What is alt text and why it matters
Image alt text (alternative text) is a short description added to an image’s HTML code that explains the image’s content and purpose. It’s used by screen readers to help visually impaired users understand visual elements, and it also helps search engines index images for SEO. If the image fails to load, the alt text appears in its place as a fallback.
Accessibility
Alt text helps screen readers describe images to users who are blind or visually impaired. It’s required for WCAG 2.1 compliance and a better user experience for everyone.
SEO value
There’s debate about whether or not search engine crawlers can see and interpret images, but if they can, they probably don’t. Image alt text helps Google understand what is on the page.
That means helpful, descriptive alt text can boost your image SEO and help your site appear in image search results.
UX and loading behavior
If an image fails to load, the alt text will display in its place. This improves clarity and helps users stay oriented on your page.
How to add alt text in the WordPress Media Library
Here’s the most direct way to add or edit alt tags for images you’ve already uploaded.
- Go to Media > Library in your WordPress dashboard.
- Click on the image you want to edit.
- In the Attachment Details pane on the right, find the Alt Text field.
- Enter a short, descriptive phrase.
- Example: “Golden retriever playing with a ball in the park”
- Click the Update button to save changes.
How to add alt text when uploading new images
When you’re uploading an image directly while editing a post or page:
- Open a post or page in the editor.
- Click Add Media or drag and drop an image.
- In the Upload Files or Media Library tab, select your image.
- Fill in the Alt Text field before clicking Insert into post.
This ensures your alt text is added right from the start.
How to add or edit alt text in the Block Editor (Gutenberg)
If you’re using the block editor:
- Click on the image block in your post or page.
- In the right-hand sidebar under Block > Image settings, find the Alt text (alternative text) field.
- Type in your alt description.
- Your changes are saved automatically as part of the post.
How to add alt attributes in the Classic Editor
For sites still using the Classic Editor:
- Insert your image into the post using the Add Media button.
- In the Image Details popup, fill in the Alternative Text field.
- Click Update to apply your changes.
How to write effective alt text (and what to avoid)
Great alt text is all about clarity, usefulness, and context. Here’s how to get it right—and the most common pitfalls to avoid.
- Be concise but descriptive. Stick to one short sentence (ideally under 125 characters) that clearly describes the image.
- Focus on purpose, not just appearance. Explain what the image shows and why it’s there.
- Don’t use “image of” or “picture of.” Screen readers already announce the presence of images.
- Avoid keyword stuffing. Include relevant words naturally, but don’t force extra SEO terms into the description.
- Make each alt tag unique. Don’t reuse the same text across different images.
- Don’t skip important visuals. If the image adds meaning to the content, make sure the alt text reflects that.
For example, if you’re selling Minecraft servers and you include an image of a person at their gaming desk:
- Good alt text: “gamer enjoying private minecraft server” — It includes a strategic keyword (“minecraft server”), but it’s not forced.
- Meh alt text: “person at gaming desk” — It’s descriptive, but you’ve missed a little SEO opportunity by not mentioning your product.
- Terrible alt text: “minecraft server cheap best awesome minecraft server” — This is keyword stuffing. Don’t do this.
Plugins that help manage or automate alt text
If you’re working with a large number of images, plugins can help automate or bulk edit alt attributes:
- Yoast SEO: Alerts you when images are missing alt text.
- Image Attributes Pro: Automatically generates SEO-friendly alt tags based on file name, post title, or custom rules.
- Auto Image Attributes From Filename With Bulk Updater: Adds alt, title, and description tags from image filenames.
Getting started with adding alt tags in WordPress
Adding accurate, helpful alt text makes your content more accessible, improves search visibility, and ensures a better experience for all users—especially when images fail to load.
Start by reviewing images already in your Media Library and updating their alt text. Then, make it a habit to write clear, descriptive alt tags each time you upload a new image.
Ready to upgrade your WordPress experience? Professional hosting improves speeds, security, and reliability for a website and a brand that people find engaging and trustworthy.
Don’t want to deal with server management and maintenance? Our fully managed hosting for WordPress is the best in the industry. Our team are not only server IT experts, but WordPress hosting experts as well. Your server couldn’t be in better hands.
Click through below to explore all of our hosting for WordPress options, or chat with a WordPress expert right now to get answers and advice.
Additional resources
What is WordPress? →
A complete beginner’s guide to WordPress.org
How to optimize images for WordPress →
Learn how to optimize images in WordPress to improve site speed, SEO, and user experience.
What is managed WordPress hosting? →
Discover how an added layer of support takes server IT off your shoulders