Alternative text and captions in WordPress serve different purposes. Alternative text provides a text equivalent when an image cannot be perceived; a caption gives visible context alongside it. Thoughtful wording makes an article clearer and more accessible without turning image descriptions into lists of repeated keywords.
1. Identify the image purpose
Ask what someone would miss without seeing the picture. Describe essential information when the image communicates something useful. A purely decorative image can have empty alternative text. For a complex chart or diagram, provide a fuller explanation in the article rather than trying to fit every detail into one long alt attribute.
2. Find the correct attachment
Go to Media > Library and search for the filename. Confirm that you have selected the intended resource before editing its fields. The tutorial uses a generic geometric landscape; its description does not need people’s names, business names or details unrelated to what the picture communicates.
3. Write useful alternative text
Use Alternative Text in the attachment details. A suitable example is Blue geometric mountains beneath a yellow sun. Avoid unnecessary prefixes such as image of, and do not insert a string of search terms. If the image acts as a link, its accessible description should also make the destination or action understandable.
4. Add a caption when readers need context
A caption appears visibly with the image and can explain context, a date or a source. It does not have to repeat the alternative text. The attachment Title is separate: it helps identify the media item, but does not replace alt text or guarantee a tooltip when visitors point at the image.
5. Check the inserted Image block
Select the picture in your article and inspect its Alternative text field. Edit the caption directly below the image. Use Mark as decorative when that is appropriate. Existing blocks may retain their earlier text, so inspect them after changing the library metadata instead of assuming every instance has been synchronised.
6. Preview and check readability
Save the post and open the preview. Make sure captions are relevant and readable on a phone. Alternative text normally does not appear below the picture; check it in the block settings or with accessibility tools. Read the surrounding paragraph too and remove unnecessary repetition between the image description and nearby content.
Frequently asked questions
Should every alt include the focus keyphrase?
Only when it naturally describes the image in context. The main goal is a useful text alternative, not repeating the same search phrase across every picture.
Is the filename enough?
A technical filename is rarely a useful text alternative. Write an appropriate description for informative images and deliberately leave alt text empty for decorative ones.
Official documentation: WordPress: Image block.