WordPress 4.7 Improves Accessibility by Removing Alternative Text Fallbacks

When images are uploaded in WordPress 4.6.1 that have an empty alt text value, WordPress tries to generate one based on the caption text or the image title. If the image title is non descriptive as is common with photos uploaded from digital cameras, the alt text can be meaningless.

In WordPress 4.7, the caption text and the image title fallbacks have been removed. The fallbacks were originally introduced to ensure every image included alternative text. Over time however, this practice has proven to be a poor user experience for people who use screen readers.

Since the fallbacks are removed, users will need to explicitly set a value for the alt text field. According to Joe McGill, the change will not affect content already published but will be the expected behavior in WordPress 4.7 and beyond.

If you’re not sure what text to use to describe an image, check out this article on Webaim. It explains when alt text should be displayed and provides useful tips on how to describe an image.

Would you like to write for WP Tavern? We are always accepting guest posts from the community and are looking for new contributors. Get in touch with us and let's discuss your ideas.


  1. Glad to see this change in 4.7! As you mentioned, the default behavior was less than helpful to people using screen readers. I’ve lost count of the number of times I’ve had to explain to new WordPress users how the default alternative text was added to an image. Looking forward to more meaningful alternative text for images!


  2. For someone who maintains a website and names his images appropriately, it’s a bit of an inconvenience.


  3. More work for me – title image was a good fallback in my case.


  4. There should be a Settings option or a filter to reactivate that fallback.


    1. I agree. This is gonna be a big headache for people caring for SEO – personally I have named the files with keywords and keeping it descriptive as I knew the filename is filled as alt text automatically.
      Now it’s going to be another copy-paste step.


      1. Yes, agreed here, too.

        I also see with a recent WordPress upgrade that the way the Title is automatically prefilled when a file is uploaded has changed: it used to be that the Title of the example file “Spaceship Engine Specifications.docx” would be automatically titled by WordPress as “Spaceship Engine Specifications.”

        But now it’s titled as the filename/slug is written, and converted to all lowercase: “spaceship-engine-specifications.”

        This I think is a step backward, as well.


      2. It was really annoying. I thought that it was because of something I did at first.


  5. This would be useful if combined with a warning that the alt text field is blank. Otherwise, it essentially does nothing to IMPROVE accessibility except to increase the number of blank alt text fields in websites curated by those who do not understand accessbility!

    When used correctly, the alt text fallbacks were a timesaver for curators who had large sites. Now we’ll be simply be copy-pasting the alt text from the title to the alt text field because we only need the one field to describe the image overall!

    However, I do concur that having the caption text be the default alt text was confusing to the user, because you would end up with the same text in both the caption and alt text! Useless.

    The superfluous field here is the title field; I’d prefer to see it removed in the long run.


  6. I’m the same. I name my images with meaningful names so the alt text was perfect and i’m not keen on double handling.


  7. Actually, reading the article on Make WordPress, WordPress image’s title is not alt, that the “According to Joe McGill” linked article references, helps clarify the rationale, but I agree with the author’s comment: “force setting alt rather than title with uploading Media.”


Comments are closed.