Home / Guides / Alt text vs title vs caption

Guide

Alt Text vs Title vs Caption vs Description: The Four WordPress Image Fields

WordPress gives every image four text fields. Here is what each one prints in your page, and who reads it: screen readers, Google or your visitors.

Short answer. Only the alt text stands in for the image: screen readers announce it, and Google calls it the most important attribute for image metadata. The caption is printed under the image for every visitor. The Title is the label of the file in your media library, and the Image block does not copy it into the page. By default, the Description only shows on the attachment page, the page WordPress can create for each file, and sites created since WordPress 6.4 redirect those pages to the file.

WordPress attachment details with the four image fields: alternative text, title, caption and description

Four fields, four different jobs

Open any image in the Media Library and WordPress shows the same four boxes under Attachment Details. Its documentation gives each one a line: alt text is “used for accessibility”, the title is “the name of the media”, the caption “a brief explanation”, the description “an explanation of this particular media”. Behind those four boxes, WordPress stores each field in a different place.

Alternative Text

In the page

The alt attribute of the image tag.

Read by

Screen readers, as the name of the image. Google, which calls it the most important attribute for image metadata. Anyone whose image fails to load.

Title

In the page

Nothing, with the Image block or the classic editor.

Read by

You, in the media library and its search. Attachment pages and some galleries show it, where they are enabled.

Caption

In the page

A visible caption under the image (a figcaption in the HTML).

Read by

Every visitor. Google reads it as part of the page.

Description

In the page

Nothing, except on the attachment page.

Read by

Visitors of that page, if your site still has attachment pages.

Only the alt text replaces the image. The caption adds to it, and the other two rarely leave the admin.

What each field prints in the HTML

Where each field ends up with the three most common ways of placing an image. We checked it against the current WordPress, Gutenberg and Elementor source code in October 2026, so older versions may differ slightly.

FieldImage blockClassic editorElementor Image widget
Alternative TextCopied into alt when you insert the image, then kept in the postCopied into alt when you insert the imageRead from the library when the page is rendered, so a corrected alt shows once any cache is cleared
TitleNot copied. The block has its own Title attribute setting, empty unless you fill itNot printedUsually not printed. When Elementor builds the image tag itself (an external image URL, for instance), it writes the Title as a title attribute
CaptionCopied into a visible caption under the image (a figcaption)Printed as a visible caption under the image: a figcaption, or a plain paragraph on themes without HTML5 supportPrinted in a figcaption if you pick “Attachment Caption”, which is not the default
DescriptionNot copiedNot copiedNot printed

Alt text vs caption, description, title and aria-label

Four comparisons come up again and again. The short version: the alt replaces the image, everything else adds to it or stays out of the page.

HTML printed by the WordPress Image block: the alt inside the img tag and the caption in a figcaption

Alt text vs caption

The alt replaces the image. The caption sits under it, for everyone.

Read moreRead less

The HTML standard is direct: the alt “should never contain text that could be considered the image’s caption, title, or legend”, and a caption copied into the alt “effectively duplicates the caption for users who don’t have images”. WebAIM adds that an image inside a figure with a caption still needs its own alt. In practice, the alt says what the image shows that matters on this page, and the caption adds what nobody can see in it: the photographer, the place, the date.

Alt text vs image description

In WordPress, the Description field does not reach your posts and pages.

Read moreRead less

The Image block and the classic editor copy the alt and the caption when you insert an image, but not the Description. It only shows on the attachment page, the page WordPress can create for each file, and since WordPress 6.4 new sites redirect those pages to the file itself. Yoast SEO does the same by default, and Google’s image guidelines do not mention it. If an image needs a long description, a chart for instance, write it in the post next to the image: W3C advises making long descriptions available to everyone.

Alt text vs title attribute

The title attribute is a tooltip for mouse users, never a replacement for the alt.

Read moreRead less

MDN puts it plainly: “The title attribute is not an acceptable substitute for the alt attribute.” The HTML standard discourages relying on it, and notes that a tooltip needs a pointing device, which leaves out keyboard and touch users. MDN also warns that copying the alt into the title may make some screen readers announce the same text twice. The Title field of the media library is not this attribute: the Image block has a separate Title attribute setting, which stays empty unless you fill it. Google’s image guidelines never mention the HTML title attribute, only “image titles”, without defining them.

Alt text vs aria-label

On an image, use the alt. The media library and the Image block have no aria-label field anyway.

Read moreRead less

The alt is the native way to name an image: MDN notes that an image’s accessible name is the content of its alt attribute, so aria-label is not necessary. If both are present, aria-label takes precedence over the alt. MDN adds that aria-label is not shown outside assistive technologies, so a mismatch is easy to miss. Keep aria-label for elements that have no native label, such as an icon button.

4

text fields for every image in the WordPress Media Library: Alternative Text, Title, Caption and Description

1

field that screen readers use as the name of the image: the alt text

2

fields the Image block never copies into your post: the Title and the Description

6.4

the WordPress version that turned attachment pages off on new sites. They are the one page that prints the Description by default

WordPress image fields with a short alt text and the photo credit and date kept in the caption

How to fill the four fields in five steps

Most of the work goes into one field. The other three take a minute, or nothing at all.

  1. 01

    Write the alt for the page where the image appears

    The library alt is only a default for the next insertion.

    Read moreRead less

    In the Image block, the alt you type applies only to that image on that page. The alt from the Media Library is just the default copied in when you insert the image. Use that freedom: the same photo can need a different alt on a product page and in a blog post. The HTML standard gives the test: replacing every image with its alt should not change the meaning of the page.

  2. 02

    Fix old posts in the post, not only in the library

    Blocks keep the alt they had when you inserted the image.

    Read moreRead less

    Correcting an alt in the Media Library does not change the Image blocks already in your posts: WordPress documents that an inserted image “becomes disconnected from the data in the media library”. Templates and builders that load the image from the library, Elementor among them, pick up the new alt once the page is rebuilt or the cache is cleared. For blocks, open the post and edit the alt in the block.

  3. 03

    Put credits, places and dates in the caption

    Visible information goes where everyone can see it.

    Read moreRead less

    The caption is the visible field: WordPress prints it under the image for every visitor, and Google reads captions as part of the page. Keep the alt for what the image shows, and do not copy one into the other.

  4. 04

    Treat the Title as a label for yourself

    It helps you find the file. Visitors rarely see it.

    Read moreRead less

    When you upload a file, WordPress fills the Title with the file name, or with a headline found in the photo’s metadata. Neither the Image block nor the classic editor prints it. Rename it so you can find the image in the library search, and don’t spend time tuning it for Google. If your theme or builder shows it as a tooltip you don’t want, you can empty it.

  5. 05

    Leave the Description empty unless your theme shows it

    On a recent site, visitors do not see it by default.

    Read moreRead less

    On a site created since WordPress 6.4, visitors do not see the Description by default, unless a theme or a gallery plugin displays it. Fill it if your attachment pages are on and you want them to say something.

Check the field that matters across your library

Since the alt does the work, it is the field Filikod audits, from the media library:

  • filter tabs on the ALT Audit page for Missing, Generic, Too short, Too long, Duplicated and Decorative;
  • a Context column that shows where each image is used, so you know which posts to open when a block keeps an old alt;
  • each alt edited inline, in the same list;
  • an optional setting, off by default, that empties the Title field of new uploads, and of the whole library on demand, if your theme or builder prints it as a tooltip (step 4 above).

The free checker reads the alt attributes of any public page, WordPress or not, so you see what your blocks really print.

Frequently asked questions

No. The alt replaces the image for people who cannot see it, and screen readers use it as the name of the image. The title attribute is extra information, shown as a tooltip to mouse users, and MDN says it is not an acceptable substitute for the alt. In WordPress, the Title field of the media library is a third thing: the name of the file, which the Image block does not print.

No. The HTML standard says the alt should never contain the caption, and copying it duplicates the caption for users who don’t get the image. Write the alt for what the image shows, and use the caption for what it does not show, such as a credit or a date.

Google does not say that it does: its image guidelines do not mention the title attribute. They call the alt text the most important attribute for image metadata, and say Google also reads the content of the page, “including captions and image titles”, without saying what image titles are. A good alt and a useful caption come first.

People usually mean the title attribute of the image, the tooltip some visitors see when they hover over it with a mouse. It is not the page title tag that Google shows in search results, and it is not the Title field of the WordPress media library. The Image block has its own Title attribute setting in its advanced options, empty unless you fill it.

It describes the file on its attachment page, the page WordPress can create for each upload. The Image block and the classic editor never copy it into a post, and since WordPress 6.4 new sites redirect attachment pages to the file itself. Unless your theme or a gallery shows it, you can leave it empty.

Not the images placed with the Image block or the classic editor: their alt was copied into the post when you inserted them, and WordPress documents that the image then becomes disconnected from the library. Templates and builders that load the image from the library, such as Elementor, show the new alt once your caches are cleared.

No. The alt is the native way to name an image, and MDN notes that aria-label is not necessary when the alt is there. If you add both, aria-label takes precedence over the alt. WordPress offers no aria-label field for images anyway.

Another question?

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

Find every image with a missing or weak alt

Install Filikod, open the ALT Audit and fix each alt inline, across the whole media library.