Editorial illustration comparing a concise, meaningful image description with decorative imagery that needs no alt text

Editorial illustration.

Alt text is a short text alternative for people who cannot see an image or whose browser does not load it. The useful question is not “What is in this picture?” but “What information would be lost here if the image disappeared?” In WordPress, write that description for the page where the image is used, and leave a decorative image with an empty alternative rather than making a screen reader announce filler.

Summary

  • Describe an image’s purpose in the page, not every visual detail.
  • Leave the alt field empty for decoration that adds no information.
  • Enter alt text in the image block or Media Library, then check the published page.
  • Avoid repeating nearby captions, filenames, or phrases such as “image of.”

Write for context, not the media file

The same image can need different text on different pages. A photo of a laptop might be decorative in a page header, but meaningful in a guide comparing two ports. A chart should convey the key takeaway or data pattern; if the exact values matter, provide them in nearby text or a table as well. Alt text is not a substitute for a long description of a complex diagram.

A practical test is to read the sentence around the image while pretending it is absent. If the sentence still gives the reader the needed information, the image may be decorative. If the image supplies a fact, identity or instruction, add a concise text alternative for that information.

For example, a product page might use “USB-C hub with HDMI, Ethernet and two USB-A ports” if the image’s purpose is to show its connectors. “Black rectangular device on a white background” describes appearance but may not answer the buyer’s question. If the surrounding copy already lists every port and the product shot is one of several redundant views, a short or empty alternative may be more helpful than repeating the copy.

Add the text in WordPress

  1. In the block editor, select the image block and locate its Alt text field in the block settings. Enter a short phrase that conveys the image’s relevant information.
  2. If you are preparing the image in advance, open Media > Library, select the image and fill in the Alternative Text field. The exact panel may differ by WordPress version and screen size.
  3. For a purely decorative image, leave the field empty. Do not write “decorative” or put a space in the field; an empty alternative allows assistive technology to skip it.
  4. Save or update the page, then open its public view and inspect the image’s accessible name using the browser’s accessibility tools or a screen reader.
  5. If the image appears in multiple contexts, check each page. A Media Library description is convenient, but the final markup and context determine what a reader encounters.

WordPress stores the Media Library’s alternative text as attachment metadata. Blocks and themes can output images in different ways, so verify the public page rather than assuming that a value in the editor guarantees correct output.

Keep it brief and specific

Lead with the information that matters. A useful description is usually a phrase or sentence fragment, not a paragraph. Avoid “photo of” or “image showing” unless the distinction itself matters. A screen reader already identifies the element as an image in many contexts, so those openings can add redundant words.

Do not put a caption, credit or keyword list in alt text. Captions are visible to everyone and can hold attribution or context. Alt text should describe what the image contributes. If the same phrase appears directly before the image, avoid repeating it word for word unless the image adds a separate fact.

For a linked image, describe the link’s destination or action when that is what matters. For example, if a site logo links to the homepage, “MZULKAMAL home” may be more useful than a visual description of the logo. If a button already has a clear text label and an icon beside it, the icon may be decorative.

Handle charts and diagrams carefully

A chart with a simple trend could use alt text such as “Monthly sign-ups rise from January to April, then level off,” while the exact data remains in a nearby table. A workflow diagram can summarize the sequence, but do not rely on the image alone to communicate instructions; include the steps in the article too. This page’s own editorial illustration is a summary, while the article text carries the detailed workflow.

If a chart’s meaning depends on many values, provide a long description in the article or an accessible table. Avoid packing every data point into one unwieldy alt string. The W3C images tutorial explains how text alternatives vary by image purpose.

Check common mistakes

  • Filename as description: IMG_4821.jpg tells the reader nothing.
  • Keyword stuffing: repeating “WordPress image SEO accessibility alt text” is not a description.
  • Too much detail: visual inventory can bury the one fact readers need.
  • Missing alternative on meaningful images: a blank field is appropriate only when the image is decorative or redundant.
  • Alt text on decorative flourishes: screen readers then announce noise that sighted readers can ignore.
  • Assuming editor preview equals public output: themes, reusable blocks and plugins can change markup.

Our WordPress image size and crop guide helps you select a suitable source image, while the practical website accessibility checklist covers other common barriers.

My Take

I would draft alt text after the image has a place in the page, not while bulk-uploading a folder. Context changes the answer: a screenshot might be essential in a troubleshooting step but unnecessary beside a duplicate caption. A quick read-through with the image hidden is often enough to decide.

Conclusion

Use WordPress’s Alt text field to communicate the image’s contribution to that page. Keep meaningful descriptions concise, leave decorative images empty, and verify the published result. For complex charts, supply the underlying information in text or a table instead of asking one sentence to carry everything.

Sources