The Media Library and an inserted Image block can show different alt text for the same WordPress image. To correct one article, inspect the Image block used on that page and what WordPress actually outputs to readers.
Find which setting controls the existing image
For the standard Image block, the Media Library supplies default alternative text when you insert an image. Editing alternative text in a block changes that instance on its page or post. The standard Image block reads its saved value from the image's HTML alt attribute, separately from the attachment's library text.
An informative image needs text that conveys its purpose in that page. A decorative image that adds no information or functionality should use alt="". See the image SEO guide for choosing the wording.
Compare the existing block with a fresh insertion
For a worked example, imagine a Johor Bahru fabric supplier using a photo to show the weave of a blue linen sample. Run the comparison on a test copy. The image was inserted when the library description was “Blue fabric”.
- In the Media Library, update the description to “Close-up of the loose weave in blue linen”.
- Reopen the existing page and select the old Image block. Leave it unchanged for the comparison.
- Insert the same library image in a second Image block. Compare both alt fields, then save a preview on the test copy.
Compare the two images in the preview before editing either block. If the old image says “Blue fabric” and the fresh one describes the weave, the existing block still has its earlier value. Correct the block in place so its caption, link and layout stay intact.
Fix the block and check the emitted HTML
In the original Image block, open its settings and edit Alternative text. Save the post, then inspect the image element in the page's rendered HTML. Use its source or nearby heading to identify the correct instance.
If the editor is right and the page still serves stale or unexpected text, check cached output and whether a theme or plugin changes images at render time. After fixing the cause, check the intended image again as a logged-out visitor if the page is public. Confirm the exact attribute value. An empty alternative for a decorative image differs from a missing attribute.
Frequently asked questions
Does changing the Media Library alt text update every old post?
Do not rely on it. The library value is a default for new insertions. Inspect and correct existing blocks where the rendered text is wrong.
Can the same photo use different alt text on different pages?
Yes. Edit each block according to what the photo communicates on its page. Here it illustrates the fabric's weave; elsewhere the same photo might play a decorative role.
Does an image caption replace the alt text?
A caption can provide visible context. If surrounding text already gives the same information and the image has no other purpose, an empty alternative can avoid repeating that content. If the image is the only content of a link, its alternative should communicate the destination or action.

