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
-
Practice Group location list Vs Individual Doctor list
We are a Healthcare system which has 70+ medical service/practice locations and 2500+ individual doctor lists. What is the best way manage these locations list, so they are not completing with each other in local search. for example, if search for "urgent care", we will like our medical practice group location show up before individual doctor in local search. What is the best practices for managing your group location lists and your individual doctor lists? Thanks!
Image & Video Optimization | | HonorHealth0 -
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 -
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 -
What Video Player Format is Best?
What video player and video format is recommended for universal playback on all devices?
Image & Video Optimization | | steelintheair0 -
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's the best practice for submitting to YouTube?
Hi all, I'm looking to start having video on my website and have chosen YouTube to host. But what I am asking is "what is the best practice for submitting a video to YouTube". I would have thought that having a transcript would be good, as this will explain what is in the video, a good title to indicate the subject and then just a few keywords/tags for what I believe the audience would be searching for to find my video. Is this the best practice? Or am I totally wrong? Any help would be appreciated
Image & Video Optimization | | SeanLade0 -
What is the best way to internally link via images?
What is the best way to internally link via images? I have a website about shoes with all different brands. Let's say I'm trying to rank for "ABC sandals", and on the ABC page I have a "related brands" section with 4 logos of related sandal brands, linking to their respective page. Currently the alt text of the logos is "XYZ Logo" with the link title text "XYZ." Would it be beneficial to have change either the image alt text, or the link title text, or both to "XYZ sandals"?
Image & Video Optimization | | Hakkasan0 -
Alt text in combination with images from another source / url
I have a feed that is parsed on my website. All images do come form another source( and url that differts from my site). However I can change the alt text. I concerns hotel mages worldwide. In order to relate the images with the different language I want to add a small phrase "airport hotel" translated in the laguages that are present on my site Example alt text will be alt="airport hotel: Mercure Schiphol Terminal" or in German alt="Flughafen hotel: Mercure Schiphol Terminal" Will this have a positive effect on my SEO despite the url of the images are not related to my site?
Image & Video Optimization | | fctexel0