Guide
How to add alt text in WordPress
WordPress, any host · 7-minute read · Updated Oct 9, 2026 · Facts checked Oct 8, 2026
To add alt text in WordPress (what a screen reader reads out for a picture), click the picture and fill in Alternative text.
1. Add alt text in the block editor
This is the editor WordPress has used for posts and pages since version 5.0. These steps match WordPress 7.1.
- Open the post or page and click the picture.
- Look at the panel on the right. If it isn't there, click the Settings button next to Save or Publish at the top.
- On the Content tab, type the description in Alternative text.
- Click Save (or Update).
- Only this page: alt text typed here applies to the picture on this page or post, nowhere else.
- Galleries: a Gallery block is a set of pictures. Click each picture in it and fill in its own Alternative text.
- Pictures with words on top (a Cover block): its settings have an Alternative text box too.
- Pure decoration (a pattern, a divider): newer versions have a Mark as decorative switch, so screen readers skip the picture. Use it only when the picture tells people nothing.
Not sure what to write? How to write good alt text has examples, or the Alt text writer drafts it from your photo.
In the classic editor
If your posts look like a word processor with one big text box, you're in the classic editor. Click the picture, click the pencil icon, fill in Alternative Text in Image Details, then click Update, and update the post.
2. Add alt text in the Media Library
- Go to Media, then Library, and click the picture.
- In Attachment details, type the description in Alternative Text. It saves as soon as you click out of the box.

This becomes the alt text every time you add the picture to a page from now on. It doesn't change pages that already use it (see below). Most themes do use it for featured images, though, since those are drawn straight from the Media Library.
3. Fixed it in the Media Library, but nothing changed?
This is the trap behind most news posts and event photos. A picture inside a post has its own alt text, saved with that post. A screen reader reads that copy, not the Media Library's. So fixing the Media Library doesn't fix the post, and fixing the post doesn't fix the Media Library.
Say you uploaded a photo from the fall festival and its alt text came out as IMG_4032.JPG. You put it in a news post, then later correct it in the Media Library. Anyone using a screen reader on that post still hears "IMG_4032.JPG", because the post kept its own copy.
| Where the picture shows | The alt text people hear | Where to fix it |
|---|---|---|
| Inside a post or page | The copy saved in that post (an Image, Gallery or Cover block) | Open the post, click the picture, change Alternative text in the panel on the right, then Save. Do it in every post that uses the photo. |
| Featured image | Usually the Media Library's, read fresh each time (the picture at the top of a news post, in the news list or on the home page) | Media, then Library, click the picture, change Alternative Text. |
| Header, logo or slider | Whatever the theme or page builder sets | That element's own settings, or ask your web person. |
So when you correct a photo, fix it in two places: in the post, for what people hear now, and in the Media Library, so it's right the next time anyone adds that photo or uses it as a featured image.
To hear what a screen reader gets, check the live page, not the editor: Picture Check reads the alt text the page sends out, so a leftover file name like IMG_4032.JPG shows up there.
4. What to write: describe it as if you were on the phone
Picture yourself telling someone on the phone what the photo shows, in one sentence. Write that.
| Photo | Not this | This |
|---|---|---|
| Event | IMG_4032.JPG | Children riding the hay wagon at the fall festival on the town green |
| News | Photo | Firefighters handing out smoke alarms outside the fire station |
| Notice | Road closed image | Detour map: Main Street closed between Elm and Church Street, traffic sent along River Road |
- Skip "image of" or "photo of": a screen reader already says it's a picture.
- If the picture has words in it (a flyer, a map, a schedule), the alt text says those words, or the post's text does.
- If the caption or the sentence beside it already says it all, keep the alt text short so people don't hear it twice.
More examples in How to write good alt text, or practice on eight pictures in Write the alt text, a game.
5. WordPress alt text not showing? Five reasons
- You added it in the Media Library after the picture was on the page. The page kept its old copy (empty, or a file name). Open the page, click the picture, fill in Alternative text there, and save. Which box wins explains why.
- You're looking for it on screen. Alt text isn't shown when you hover over a picture, and it isn't meant to be. It's read aloud by screen readers, and shown only if the picture fails to load. To see it, right-click the picture, choose Inspect, and look for alt="…", or run Picture Check on the page.
- You saw an old copy of the page. If you didn't press Save or Update, nothing changed. If you did, a caching plugin or your web host may still be showing a saved copy: clear that cache, then hard refresh the page.
- Your theme or page builder shows the picture its own way. Header pictures, sliders and backgrounds set in a theme's or builder's own settings often ignore the alt text in WordPress. Look for an alt text box in that element's own settings, or ask your web person.
- It was marked as decorative. Then WordPress leaves the alt text empty on purpose. Switch Mark as decorative off and write the description.
6. Find every picture with no alt text
You don't need a paid alt text plugin: the box is built into WordPress. What's hard is finding the pictures that are missing it.
- PageKiwi for WordPress is our free plugin. Press Check my site and it lists Media Library pictures with no alt text, with a box beside each to type it in and save, and the posts and pages whose pictures have none, with a link to each.
- Picture Check looks at up to 10 pictures on a page of your live site, so it also catches pictures your theme or page builder added.
Saving alt text from PageKiwi's list sets the Media Library copy. Pages that already use the picture still need it filled in on the page, as in reason 1.
7. Is there a character limit?
WordPress doesn't limit the box. Keep it to about one sentence, around 125 characters, like this one. Longer details belong in the page's text.
The short version
Click the picture in the editor, fill in Alternative text and save. Alt text added later in the Media Library doesn't change pages already using the picture, so fix it in the post as well.
Send this to your web person
Not sure what to say? Copy this into an email, add your website's address, and send it.
Hi, The pictures on our WordPress site, [your website address], are missing alt text (or it isn't showing), even where I've added it in the Media Library. The pages I've noticed are: [pages] Could you check: - that the pictures on those pages have Alternative text filled in on the page itself, not just in the Media Library - any header, slider or background pictures set in the theme or page builder's own settings - that the site's cache is cleared afterward Thanks
Check the official rules. Rules and dates change, so check them with the official sources before you rely on them: ADA.gov (the US Department of Justice), the W3C's WCAG pages and Section508.gov. PageKiwi helps you find problems and get closer to meeting the rules. It can't promise a website meets them, it isn't legal advice, and we can't take responsibility for decisions made from it.
Alt text is part of making your website accessible. Website accessibility: where to start, with the tools that help and what the law asks.