Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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?
-
It is certainly quite possible that I'm doing wrong as well but basically if you manage to include the page title in the alt text you've essentially met your quality points for the most part. Because at one point I implemented those annoying popup overlays on an adult affiliate site, I coded some jQuery to randomly select 1 of 20 different banners.
not only did I want it to dynamically pic a random image, I needed for the image to have alt text entered on it as well. I was able to essentially use a snippet of code and the alt tags reverted to the page title automatically. It seemed to not only please Yoast, but Google as well.
I do fully understand that the initial intent of the alt tag is to take place of the image when it is not able to load, but for some reason matching the page title seems to be the all important Google pleaser. And as far as adding the same alt tag on every image on the page, my site didn't seem to effected negatively, but quite the contrary
Thing is, while Wordpress seems to pretty much only seem to impliment alt tags off the rip despite having a caption and description box, they don't seem to get implimented when u drop the image down. There's actually quite a few different Image SEO metrics that are quite often overlooked. Rand has a white board Friday that covers pretty much all of them. I made this infographic based upon it.
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
-
Why is my image Alt Text showing up under my URL and title on the Google results page?
I just realized this happened 😞 I optimized this page over a week ago. I changed out the old image on the page, along with the Alt Text. Now I see this when I do a search for it. No Beuno. Can some one please tell me how I get rid of the alt text in the result. many many thanks in advance. http://thumannagency.com/business-insurance/contractors-insurance Contractors Liability, Work Comp Insurance in Dallas, Texas ... <cite class="_Rm">thumannagency.com/business-insurance/contractors-insurance</cite>Your page is not mobile-friendly.Dallas, Texas Contractors Insurance. Contractors Insurance Quote. General Contractor working on a roof in Texas. Thumann Agency specializes in providing ...
Image & Video Optimization | | MissThumann0 -
How long should the Image Alt Text be for SEO?
When it comes to creating the alternate text for images, what is the character length that I need stay under to rank well?
Image & Video Optimization | | Ytellsocial0 -
Is it a legal requirement for a website to have alt tags for all images?
Someone told me it is a legal requirement for a website to have alt tags on all of their images. Is this right? Or is this bad for SEO?
Image & Video Optimization | | RachelBev0 -
Image ALt Tag in Sliders and Modules (Banner) in Joomla/Wordpress
Is it possible to do SEO for images in Sliders and Banner modules in Joomla? I would like to add ALT tags and Titles for those, if possible.
Image & Video Optimization | | ArthurRadtke0 -
Repeated alt tags
So my client red about SEO and now he needs alt tags for each image on website. There is like 200 products and each product has 20 images, i know he will not write alt text for each and there isn't that much to write (them are selling bricks). So can all 20 images with in product page contain the same alt tag (product name)? Example: alt="red brick". Wount google ban website for that? Mybe better way would be alt="red brick 1", alt="red brick 2" and so on.
Image & Video Optimization | | regolv0 -
Practice Name vs. Dr. Name in Local Search
I wanted to get some opinions on an interesting situation for local search. Many doctors and dentists are found in one of two ways online: Their name and title, e.g. Dr. James A. Smith, MD Their practice name, e.g Smith Plastic Surgery, P.C Often sites like Healthgrades are providing data on the doctor him or herself, and the information can be tough to switch out. At the same time, there's a tendancy on the Dr's part to want to be listed as their practice name. Their site is often set up that way. How are you handling this kind of setup? Have you found a way to reliably associate (and format) a practice and doctor's name in a listing, in such a way that doesn't violate Google's quality guidelines? I know the drill for handling a doctor within a hospital, but this is a slightly different situation...
Image & Video Optimization | | BedeFahey0 -
What is the best way to include video transcripts on your pages?
I just posted a question as a comment on this blog post (http://www.audiotranscription.org/6-reasons-you-need-to-have-your-sites-videos-transcribed/comment-page-1/#comment-4311) and realized I probably should have asked the question here because it is really SEO-related. We are in the process of transcribing all of our videos. Can you someone recommend how best to post the transcript file on our product pages? For example, here's a product page that has a video review on it: http://www.ccisolutions.com/StoreFront/product/behringer-x32-digital-mixing-system. Would it be best to post a link to the transcript file or insert the iframe transcript file from DotSub.com (in that case wouldn't DotSub.com be getting credit for our original content?) or, should we just let our captions on the YouTube stream from there (which is what's happening right now)? Will Google still crawl the transcript if the only place it's available is on YouTube? If so, doesn't YouTube get credited for that content, and not our site? Even if we do post a trascript on the page, if it appeared at YouTube first, wouldn't YouTube get credit for the original version? We want credit for that content...just not sure how to get it? I understand that moving to Wistia.com would probably solve most of these issues. What I'm trying to figure out is how best to handle new transcripts for existing videos over at YouTube?
Image & Video Optimization | | danatanseo0 -
What is the best way to push your video in Youtube?
I would like that my videos rank better in Youtube. How to do that?
Image & Video Optimization | | MichaelJanik0