Home / Guides / Add alt text

WordPress

How to Add Alt Text to Images in WordPress

The block editor, the Media Library and the fixes when your alt text refuses to show up.

In WordPress, click the image block, open the block settings panel and type a description in the Alternative text field, then update the post. The same field exists under Media, then Library. Aim for 5 to 15 words that describe the image in its context.

Block editor

Add alt text in the block editor

01

Select the image block

In the editor, click the image you want to describe. The block toolbar appears and the right-hand panel switches to that block’s settings.

02

Open the block settings

If the panel is closed, click the gear icon in the top right corner. The image options sit under the Block tab.

03

Fill the Alternative text field

Type a short description of what the image shows, in its context. "Red trail running shoe, side view" tells more than "shoe".

04

Update the post

Save or update. The alt attribute now ships with the page, readable by screen readers and search engines.

Media Library

How to add alt text from the Media Library

Go to Media, then Library, and click any image to open its details. The Alternative text field sits at the top of the panel and saves automatically as you type.

One catch: WordPress copies the alt into a post at insertion time. Filling the field here covers future insertions, but images already placed in published posts keep whatever they had.

Filikod-wordpress-media-alt-text-field
Writing tips

How to write alt text in WordPress

The field is easy to find. What you type in it decides whether the effort pays off.

Describe the context

The same photo deserves a different alt on a product page and in a blog post. Say what the image shows and why it sits on this page.

Aim for 5 to 15 words

That lands between 8 and 125 characters. Below that, the description says too little; beyond, some screen readers cut the text.

Go straight to the subject

Screen readers already announce the element as an image, so skip "image of" and "photo of". Start with the subject itself.

Troubleshooting

Why alt text doesn't show up in WordPress

Alt filled in but nowhere to be seen? These four situations cover the usual causes.

What you seeLikely causeThe fix
Alt filled in the Media Library, missing in the postThe image was inserted before the alt existed; WordPress copies it at insertion timeOpen the post, select the image block and fill the field there
Alt filled in the editor, absent on the live pageYour page builder uses its own alt fieldFill the alt field inside the builder’s image widget
Alt present in the code, still flagged by toolsA lazy-loading script rewrites the img tagCheck the final rendered HTML and the script’s settings
No alt field at allThe visual is a CSS background imageSwitch to a real img tag when the image carries information
25.2%

of audited images have no alt text at all

37.3%

carry at least one alt text issue

67.6/100

average alt quality score across our audits

FAQ

Frequently asked questions

No. WordPress copies the alt into the post when you insert the image. To fix a published post, edit the image block there, or see our guide to bulk alt text in WordPress.

Not on its own. Every alt starts empty until someone writes it. Some plugins can suggest or generate descriptions to speed the job up.

The free Filikod plugin audits the media library and lists images by issue: missing, generic, duplicated or too short.

Most builders keep their own alt field inside the image widget, separate from the Media Library. Fill the field in the builder, then check the rendered page.

Another question?

The full FAQ covers the checker, the score, the plugin and how your data is handled.

Hundreds of images to fix?

Filikod audits your entire media library, scores every image and sorts the problems so the worst come first. Free, rated 5/5 on WordPress.org.

Alt text audit and bulk management for WordPress. Quality score, bulk fixing, accessibility. Built in France by Lyode.

★★★★★ 5/5 on WordPress.org

© 2026 Filikod — WordPress plugin licensed under GPLv2.

EN / FR