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
-
Best way to manage multiple Google My Business accounts as a marketing agency?
As marketing agency we have for each client a Google My Business account. This means that we have more than 100 Google My Business accounts. We know that GA has a limit of 100 analytics accounts (free version), but is there a limit in Google My Business too? For now, we have created multiple accounts that own different Google My Business accounts of our clients. Can I just change all the different e-mail accounts of our marketing agency and change it to one? So we can manage all the Google My Business accounts of our clients in one e-mail account?
Image & Video Optimization | | conversal0 -
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 -
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 -
Best Video Sitemap plugin for wordpress? And do I need both a video sitemap and a normal one?
Hi all, I currently use the Google XML Sitemaps plugin on my wordpress site. But we've recently began adding (self-hosted) videos that we've been careful to markup with the relevant schema. However, there's a couple of things I don't understand and am hoping someone could help: Do we need a separate video sitemap that either works alongside Google XML Sitemaps or replaces it? If we do need a video sitemap, what's the best video site map to get? (we are using the Thesis theme so can't use the Yoast one unfortunately as they don't play nice together...) Thanks for your help! Andrew
Image & Video Optimization | | seowhiskey0 -
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 -
Best tools for checking competitors citations.
I am using whitespark and brightlocal to run citation checks for my clients. I was curious if there was a good tool to compare competitor citations + other local metrics easily without paying per report.
Image & Video Optimization | | waqid0 -
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