Image ALT Attribute
-
Hi,
Got a message from the On-Page Optimizer to update the ALT Attribute in an image. Does that mean just rename the image and re-upload it on to the site?
Thanks!
-
Hi Heather,
Thanks for the reply. The site uses FCK Editor + Smarty + PHP. It's super easy to use when you are uploading content, but I think it might be very poorly set up for SEO.
On the FCK Editor there is a SOURCE button that shows the HTML. I'm not sure, but that MAY be the only place to put in the meta descriptions and ALT Attributes.
It's unfortunately very confusing!
-
Just to add to this:
Adding an ALT attribute (alternative text) to all of your images is a usability best practice and can also help with your SEO efforts.
Here's a (fairly old) video from Matt Cutts, head of Google's web spam team, that highlights the importance of not ignoring ALT attributes:
http://www.youtube.com/watch?v=3NbuDpB_BTc
And here's an article from Rand Fishkin that briefly touches on the topic:
http://www.seomoz.org/blog/perfecting-keyword-targeting-on-page-optimization
Specifically:
"Alt Attribute - Surprisingly, the alt attribute, long thought to carry little SEO weight, was shown to have quite a robust correlation with high rankings in our studies. Thus, we strongly advise the use of a graphic image/photo/illustration on important keyword-targeted pages with the term/phrase employed in the alt attribute of the _img _tag."
-
Could you tell us what CMS you're using and perhaps your site URL so we can take a look at the code.
The ALT attribute has to be added into the HTML and cannot to added to an image before upload, but there should be an option in your CMS to add this. If there isn't, you need a new CMS!
-
When you upload your image does the CMS not ask for a test description of the image? What CMS is it?
You can't do anything to the image files itself in order to do this. You could rename the image so that it has a meaningful filename which may help, but it still won't provide an ALT atribute.
-
Hi Guys,
Thanks for the detailed replies. On my CMS I can't really edit the image. Is it possible to edit the image before I upload it? That way the information I'm trying to include will be added.
Thanks!
-
The ALT attribute is part of the HTML code used to include the image on your page. It should look something like this:
The ALT attribute is displayed when the browser can't display your image (and used by screen readers).
The reason this is important for SEO is that it can help provide search engines with a clue as to what the image is about (and if you can use keywords that you're tying to get your page to rank for it should also help overall page relevancy). The text surrounding the image will also be used by search engines to provide more information for what the image is about.
Hope this helps.
-
Hi,
No it means that in your HTML-tag you should have an ALT attribute.
Like so:
-Rasmus
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
-
Multiple H1s and Header Tags in Hero/Banner Images
I work on education websites, and our sites are being flagged by SEO and accessibility checkers for having multiple H1s. The home pages have the site name as an h3 in the hero image, and an aspirational headline (think: Be Like Mike) as an H1. The sub-pages have two H1s: one on the site name in the banner image, and the other on the page title. Note that the site name is very keyword-rich. If we were to remove the H1 and H3 tags from the hero/banner images, would it do any SEO harm? At the same time, we’d rewrite the H1 on the home page to be more keyword-focused. Any other options? I also read that it’s OK to have multiple H1s as long as it’s clear which H1 belongs to the heading area and which one belongs to the body area of the page. Thanks in advance!
On-Page Optimization | | UWPCE0 -
Logo Image H1 Tag SquareSpace
We have a site hosted on SquareSpace: Roomhance.com Going through the on-page optimizaton tool, we noticed that the H1 tags weren't fully optimized. If you click on view source on the page, it shows 2 H1 tags on the home page: id="logoImage"><a <span="" class="html-attribute-name">href</a><a <span="" class="html-attribute-name">="</a>/">src="//static1.squarespace.com/static/5bcca055ab1a62465f5b9ee7/t/5c18feb270a6adf771765799/1588613682225/?format=1500w" alt="Virtual Staging For Real Estate | Roomhance" /> style="text-align:center;white-space:pre-wrap;">Virtual Staging The 2nd one shown above it the H1 tag we want. I'm wondering if the H1 tag in the logo image is hurting us for SEO? Can't figure out how to modify it in SquareSpace.
On-Page Optimization | | vikasnwu0 -
How can i define a ALT Tag for Youtube videos?
Hello, When i scan with SEMrush it shows all such pages do not have ALT Tags http://img.youtube.com/vi/iJ4pmmRSZxc/hqdefault.jpg What should the ALT be for them and how can i control as we have 1000's of Youtube videos displayed on various parts of our website Thank you
On-Page Optimization | | ktrinkqao120 -
Image Tags And Titles
Hi, I am currently revamping my website with a new look. Some questions i have with regards to the images found on a page. I know that we need an alt tag for each image. This should not be keyword spammed. However, what about the title tag for the image? What is the best practice for image title tags? Should it be the same as the alt tag? Should it be different? Should I leave it blank? If I am running a wordpress platform for my website. The defaulted settings for wordpress is that all images inside a post are clickable. When clicked, the page loads from abcdef.com/page/ to abcdef.com/page/image.jpg. This seems to be generating alot of internal links but I don't see the value of loading an image when my visitors click on that. Should I let the image be clickable or remove the link on the image for best SEO practices? Thanks for your advice. paul
On-Page Optimization | | paulgian1 -
Image carousel
I have a site with a large image carousel on the top of the homepage. it rotates about 5 images. Most of the images have copy on the left and the image on the right. Right now the designer has kept it one large image. If convert the copy to HTML and keep only the image on the right the actual image. This copy on the left will now get crawled? Is there any downside to this? I am thinking this is a better option than keeping it one large image.
On-Page Optimization | | aspenchicago0 -
Keyword Stuffing in Alt Tags!
Hello, I have on a main page over 50 images. The first page i want to optimize it for MAINKW (let's say). Now, if i use in the alt tags "MAINKW KW1", "MAINKW KW2", "MAINKW KW3" ... "MAINKW KW50" then Google may say that i stuff the MAINKW in that page? Those images are reprezentative for main Categories and i have direct links to them from the main page with the anchors KW1, KW2...KW50.
On-Page Optimization | | VertiStudio0 -
Alt attributes same as jpg name and keywords?
Hi everyone, Quick question: Is it better to have your jpg name and alt text slightly different to your keywords for that particular page, or is it better to have them slightly differently? At the minute I'm doing them all with a variation on the keyphrase I want to optimize for (long tail and all that...). Any input much appreciated!
On-Page Optimization | | CMoore850 -
Attributes vs. Separate Products?
I carry a line of products that come in 4 sizes and 15 colors. Is it better to have separate products for each combination (Red Large, Blue Small, etc), or a product for each size with attributes for the color, or something else? Also, should I put the brand name in each product name, or only put it in the category that contains that brand? Thanks.
On-Page Optimization | | teatable0