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
-
Alt Tag for Mobile/Tablet
I have device optimized images for desktop, tablet, and mobile. Should I put the same description, caption and alt tag for each? Not sure if this will hurt me or help?
Image & Video Optimization | | ResmanMarketing0 -
Not using alt tags for decorative images?
Hi everyone, My coworker recently stumbled across this article that instructs you to not to alt text for "decorative images" as you might get penalized you for over optimization https://www.shopify.com/blog/7412852-10-must-know-image-optimization-tips Has anyone heard of this or have any thoughts?
Image & Video Optimization | | AliMac260 -
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 -
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