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
-
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 -
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 much can our page title, URL and alt-tag differ without negatively affecting SEO?
We are a bridal store selling wedding dresses and bridesmaids dresses. We are wanting to know how much our URL and page title can differ, whilst still optimising SEO. For example, for the category Wedding Dresses, the URL contains wedding dresses, so can we use " the best wedding dresses in Sydney" in the page title? For the bridesmaid dresses (URL is /bridesmaiddresses/) can we use " buy best bridesmaid dresses online in Australia"? Can we use terms such as "buy best black dress in sydney", "buy online in australia" or "shop online in sydney" in the alt-tag, additional from the page title .i.e. adding extra keywords in the alt-tag that do not appear in the title? Would this be classified as keyword stuffing? In our main categories .e.g. Wedding Dresses, can we add "best wedding dress store", "buy wedding dresses from best wedding store in sydney" in the alt-tag? Thank you.
Image & Video Optimization | | CostumeD0 -
How to best automate batch naming of product images
On an ecommerce website with tens of thousands of products, product image file names are auto generated by your system, and are often just a string of numbers and letters. We optimize our callout images and heroes but I'm questioning if we are missing a big opportunity with our product image names not being optimized. Does anyone have any insight on a smarter way to automate batch naming for thousands of product images?
Image & Video Optimization | | WebLincon0 -
Alt-text on all my images or only my contextual images?
Hello everybody, I have a question regarding Alt-text. Is it important, regarding SEO, that I add alt-text to all my images, or only on my contextual images? Hope someone can help me.
Image & Video Optimization | | JonathanLinda910 -
What are the best practices for optimizing a site for multiple locations?
I have a client that operates in multiple states. I am trying to find a way to best optimize their website, but all of the best practices for "local SEO" seem to be for things such as restaurants, small businesses, etc. I am looking for a way to optimize for the industry keywords as well as location. Any best practices/suggestions would be greatly appreciated. Thanks!
Image & Video Optimization | | Scratch_MM0 -
Best way to publish same content on 2 blogs?
I currently have a couple of blogs and I want to put a post on one of them and then copy it onto my other blog, but give the credit and the link back to the original (lose you yet?) I want to write a blog and publish it on my site (http://goo.gl/WRwR8) After it's on the blog on my main e-commerce site, i want to copy it onto my wordpress blog (http://goo.gl/0SSti) What is the best way to accomplish this without creating duplicate content? Is there a way to state on the second wordpress blog that this post originated from the ecommerce site? I could really use some guidance... Thanks
Image & Video Optimization | | Prime850 -
Best practice using Video to increase website pagerank?
Goal: Leverage videos to get links and traffic back to website not video hosting platform site (e.g. YouTube) to generate website leads **Issue: ** If we place a video on a website using video YouTube embed code and video sitemap for the crawlers to index our video DOES show up in search results BUT that link goes back to YouTube. Great for increasing views on YouTube but not increasing link popularity for client website. Question: What are recommendations / best practice for SEO (such as using another player like Viddler, etc.) that will get video results from search engines back to the website? We want to leverage videos to build links and generate leads to client site.
Image & Video Optimization | | jfeitlinger0