Best practice SEO for images added via WP
-
<label class="setting" data-setting="title">Hi</label>
When adding an image to a post or page using wordpress I have complete 4 fields:
Title
Caption
Alt Text
DescriptionIf the image is of an orange campervan in Cornwall, UK then how best would I complete these fields? Can Title and Alt be the same and can Caption and description be the same?
Thank you for this!
James
-
It doesn't really matter that much if you use the alt text, and title well to describe the image. However, I always recommend (and do it myself) renaming the image to match the title, in your case something like orange-campervan-cornwall-uk.jpg.
Always use dashed to separate words, not underscores
-
One other thing if you have time - what should the image be called in the file it's uploaded from? Would it be 'orange campervan cornwall uk'? Thanks
-
Thank you - it makes sense now!
-
Thanks for a fast and detailed response!
-
Hi James,
Each field is actually intended for something different:
- Title: should be what is the image. In this case: orange campervan
- Caption: Is what shows up under the image describing it to users visiting the page. In this case: orange campervan in cornwall, UK blah blah.
- Alt Text: Should be an image description that appears when the browser can't (for some reason) display the image. In this case can be either "orange campervan", "Image of orange campervan" or whatever you think describes best the image when somebody can't see it.
- Description: Is just that, a short, brief description of the image contents.
Hope that helps.
-
First, I would focus on making the alt tag accessible. If the image didn't load, or a user happened to be visually impaired, could they tell what should be in the images place? So alt="orange campervan in cornwall uk", but only if the context of Cornwall UK is important. Don't write a book, if the image is that of a green apple - then alt="green apple".
Here's more on alt text. *Note, don't use images for a nav, but definitely alt -exactly- if you don't have a choice.
The purpose of a caption is editorial. It should be a little less terse than your alt text. If you're writing about traveling through Cornwall in your campervan something like; "What an adventure I had when driving my orange campervan through Cornwall UK". If you're writing about your trip through Cornwall UK in your orange campervan - then you've successfully given the lizard brain a reason to possibly stick around and read.
The description part really depends on if your theme supports it. More on that here. An example would be; "I really liked this shot of my orange camper van. The sunsets in Cornwall UK are amazing!" (If there's a sunset.) You're really just providing commentary here.
The title is closer in spirit to the alt text. It may also include a CTA. "Click here for more adventures"
But the overall goal should be aimed at being descriptive where appropriate and succinct where necessary. Doing so improves accessibility. If you're remotely talking about the topic, the keywords tend to fall into place.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Alt Text Best Practices
I am working on alt texts for my WordPress website. I've done a bit of research and read best practices, but I am a bit confused on how to write some of the alt texts because my entire site includes images. I know this is a big no-no and I am working with my team to get the site SEO-optimized (better text to image ratio). However, in the meantime, I need to make sure that I have some alt texts for my images. Can someone help with the following questions: 1.) I have the same "close" button in 4 locations. Can I use "close" as the alt text four times? Or should I explain where the close button is or what it closes? 2.) If my image is only text and it is more than 125 characters, is this a problem? Should I use longdesc=? If so, how do I input that in a WP site? 3.) If I have my logo in 3 locations, should I differentiate the alt text? 4.) If I have FB icon, do I just state Facebook and don't say icon? 5.) I have some background images and they don't really provide relevancy to my site other than aesthetics so should I not have alt attribute? If so, do I just place alt="" in the alt text field or does it have to be in the code? 6.) In WordPress, do I remove the description under “title,” and just put a description under “alt-text?” 7.) Can I repeat alt texts? For example, I have 4 buy now buttons, should the alt text be “buy now” all 4 times or be specific to what they are buying, such as “Buy now – Teatopia Dream On supplement drink?” 8.) I have 4 nutrition label images so can I just state what each label refers to or is it expected to have a long description with all the text on the label? 9.) I have images for desktop vs. mobile. Can I have similar copy for both. The mobile page is not set-up to index so do I even need alt text for the mobile images? 10.) Can I have characters, such as dashes and commas, in the alt text? Does initial cap matter? 11.) For decorative images or when an alt-text is not needed, do I just place alt=”” in the alt text field in WordPress?
Image & Video Optimization | | JanelleGrkovic0 -
What's better for SEO an Optimized Image URL vs Optimized Image File Name?
I would like to know what is best practice for optimizing images for our website. Is it better to give an Image an optimized filename Or an optimized URL for SEO? Or is it better to do both? Would there be any harm in doing both if they are identical in their format? Any help would be greatly appreciated. With thanks, Kate
Image & Video Optimization | | K_borg0 -
When I host my You Tube Videos on my website how do I get remove the ads that You Tube puts in them?
I am looking for some advice regarding You Tube and removing the adverts that are within the videos when I host them on my website. I 'Googled' the answer and all the information that I found was relevant before the latest You Tube update? Many thanks in advance for your help.
Image & Video Optimization | | mblsolutions0 -
Video SEO: Should I add Video Transcriptions to You Tube Videos Even with Google CC?
So, You Tube allows plenty of room from descriptions. I think 5,000 characters. Google does a poor Closed Caption of our audio. Should I also be adding accurate transcriptions to the description field in YouTube to help my Video SEO. What are the pro's cons and is it worth doing?
Image & Video Optimization | | BlairKuhnen1 -
Google Maps Reviews Disappearing - So Where is the best place to host them now?
I think a lot of people are having this problem. You spend years receiving great reviews on Google Places only to have the wiped out for no reason. That being the case what 3rd party sites do you all suggest that client reviews be hosted besides your website? Thoughts?
Image & Video Optimization | | webestate0 -
Do citations in foreign languages help for local SEO in English?
Hi, All! If you're doing trying to get a foreign site (in English) to rank for local SEO in that country (in English),.do citations in the native language help? Google does seem to know that the business name in English and the foreign language are the same (e.g. if you search in English, it will return some results in the foreign language with the business name in the foreign language bolded). And addresses Google can also tell are the same, as evidenced by Google map searches in both languages pinpointing the same location. So - are citations in the foreign language relevant to help the page rank higher for a local query in English? Any thoughts? Thanks, Aviva
Image & Video Optimization | | debi_zyx0 -
Looking for beta testers for new free video SEO/marketing tool
We're getting ready to release a free tool to the SEO community that we hope will help marketers better create and optimize/market great video content. Hint: the tool has features built in to help you analyze video rankings in universal search results. 🙂 We'd like to get feedback from a few beta users first, though. If you'd be willing to give us your honest feedback in return for getting to use the tool early (and getting to suggest features you'd like), please PM me. Thanks in advance!
Image & Video Optimization | | AdamThompson0 -
Will putting images in a light box or photo gallery affect my image SEO?
A website that is very image heavy and would like to enhance the user experience with a photo gallery. How will this affect the indexing of these photos? Can I still add alt. tags and title tags to these images?
Image & Video Optimization | | Unidev0