Friday, April 22, 2011

Alt Attribute & Seo

SEO Optimization images has become increasingly more important in SEO (Search Engine Optimization) for websites. The ALT attribute is a critical step that is sometimes forgotten. This can be a lost opportunity for better rankings.


In Google's webmaster guidelines, they advise the use of alternative text for the images in your site:

Images:. Use the alt attribute to provide descriptive text. Additionally, we recommend utilizing a human-readable caption and descriptive text around the image.

Why would they ask us to do that? The answer is simple, really; search engines have the same problem as blind users. They cannot begin to see the images.

Many webmasters and inexperienced or unethical SEOs abuse the use of this attribute, trying to stuff it with keywords, hoping to achieve a particular keyword density, which is not as relevant for rankings now as it was previously.

On the other hand, high keyword density can, on some search engines, trigger spam filters, which might create a penalty for your site's ranking. Even without this type of penalty, your site's rankings will not take advantage of this tactic.
This method also puts persons who use screen readers in a greater disadvantage. Screen readers are software-based tools that really read aloud the items in what is displayed on the screen. In browsing the net, the alt features of images are read aloud as well.

Imagine listening to a paragraph of text that is then repetitions of many keywords. The page will be far from accessible, and, to put it bluntly, will be found quite annoying.
What is an Alt attribute?

An ALT attribute should not be used as a description or a label for an image, though lots of people utilize it in that fashion. Although it might seem natural to assume that alternate text is really a label or a description, it is not!

What used inside an image's alt attribute ought to be its text equivalent and convey exactly the same information or serve exactly the same purpose the image would.

The thing would be to supply the same functional information that the visual user would see. The alt attribute text should be the "stand in" in the event that the image itself is not available. Think about this question: If you were to replace the image with the text, would most users get the same basic information, and wouldn't it generate the same response?
Some examples:

 

Some SEO Optimization Tips

If your search button is a magnifying glass or binoculars its alt text ought to be 'search' or 'find' not 'magnifying glass' or 'binoculars'.

If the image is supposed to convey the literal contents of the look, then a description is appropriate.

If it is meant to convey data, then that information is what's appropriate.

If it is designed to convey using a function, then the function itself is what ought to be used.

Some Alt Attribute Guidelines:

Always add alt attributes to images. Alt is mandatory for accessibility and for valid XHTML.

For images that play merely a decorative role in the page, use an empty alt (i.e. alt="") or perhaps a CSS background image to ensure that reading browsers do not bother users by uttering things like "spacer image".

Keep in mind that it is the function from the image we're attempting to convey. For example; any button images shouldn't include the word "button" in the alt text. They should emphasize the action performed through the button.

Alt text should be determined by context. Exactly the same image inside a different context may need drastically different alt text.

Attempt to flow alt text with the rest from the text because that's how it is going to be read with adaptive technologies like screen readers. Someone listening to your page should hardly remember that a graphic image is there.
Please keep in mind that utilizing an alt attribute for every image is needed to satisfy the minimum WAI requirements, that are used since the benchmark for accessibility laws in UK and the remainder of Europe. They are also required to meet "Section 508" accessibility requirements in america.

It is important to categorize non-text content into three levels:

Eye-Candy
Mood-Setting
Content and Function

I. Eye-Candy

Eye-Candy are things that serve no purpose apart from to make a site visually appealing/attractive and (oftentimes) fulfill the marketing departments. There is no content value (though there might be value to a sighted user).

Never alt-ify eye-candy unless there is something there which will boost the usability from the site for someone using a non-visual user agent. Use a null alt attribute or background images in CSS for eye-candy.

II. Mood-Setting

This is actually the middle layer of graphics which might actually set the mood or set the stage as it were. These graphics are not direct content and could not be considered essential, but they're important in that they help frame what is going on.

Attempt to alt-ify the 2nd group as makes sense and is relevant. There might be instances when doing so might be annoying or detrimental with other users. Then try to avoid it.

For example; Alt text that's identical to adjacent text is unnecessary, and an irritant to screen reader users. I suggest alt="" or background CSS images in such instances. But sometimes, it's vital that you get this content inside for all users.

Usually it depends on context. Exactly the same image in a different context may need drastically different alt text. Obviously, content ought to always be fully available. How you go in this example is a judgment call.

III. Content and Function

This is when the image may be the actual content. Always alt-ify content and functional images. Title and long description attributes can also be in order.
The main reason many authors can't understand why their alt text isn't working is they don't know why the pictures are there. You have to figured out exactly what function a picture serves. Think about what it is about the image that's vital that you the page's intended audience.

Every graphic includes a reason behind being on that page: because it either enhances the theme/ mood/ atmosphere or it is advisable to what are the page is attempting to describe. Understanding what the look is perfect for makes alt text easier to write. And exercise writing them definitely helps.
A method to look into the usefulness of alternative text would be to imagine reading the page over the telephone to someone. What would you say when encountering a particular image to make the page understandable towards the listener?

Aside from the alt attribute you have a couple more tools at your disposal for images.
First, in degree of descriptiveness title is in between alt and longdesc. It adds useful information and may add flavor. The title attribute is optionally rendered by the user agent. Remember they're invisible and never shown as a "tooltip" when focus is received via the keyboard. (A lot for device independence). So use the title attribute just for advisory information.
Second, the longdesc attribute points towards the URL of a full description of an image. When the information found in an image is important towards the concept of the page (i.e. some important content would be lost when the image was removed), an extended description than the "alt" attribute can reasonably display ought to be used. It may provide for rich, expressive documentation of the visual image.

It should be used when alt and title are insufficient to embody the visual qualities of the image. As Clark [1] states, "A longdesc is a long description of the image...The goal is by using any period of description necessary to impart the facts of the graphic.

It would not be remiss to hope that the long description conjures an image - the look - in the mind's eye, an analogy that holds true even for that totally blind."

Although the alt attribute is mandatory for web accessibility as well as for valid (X)HTML, not every images need alternative text, long descriptions, or titles.

Oftentimes, you are best just going with your gut instinct -- if it's not necessary to include it, and if you don't possess a strong urge to get it done, don't include that longdesc.

However, if it's necessary for the whole page to operate, then you have to add the alt text (or title or longdesc).

What's necessary and what's not depends a great deal on the function of the image and its context on the page.

Exactly the same image may need alt text (or title or longdesc) in one spot, but not in another. If the image provides absolutely no content or functional information alt="" or background CSS images may be appropriate to make use of. However, if the image provides content or adds functional information an alt would be required and perhaps even a long description will be so as. In many cases this kind of thing is really a judgement call.

Image Search Engine Optimization Tips


Listed here are key stages in optimizing images:

Select a logical file name that reinforces the keywords. You can use hyphens within the file name to isolate the keyword, but avoid to exceeding two hyphens. Stay away from underscores like a word separator, such as "brilliant-diamonds.jpg";

Label the file extension. For example, if the image search engine sees a ".jpg" (JPEG) file extension, it's going to assume that the file is a photo, and when it sees a ".gif" (GIF) file extension, it's going to assume that it is a graphic;

Ensure that the text at the image that's highly relevant to that image.
Again, don't lose an excellent opportunity to help your site together with your images in search engines. Begin using these steps to rank better on all the engines and drive increased traffic to your site TODAY.

No comments:

Post a Comment