fredag 22 april 2011

Alt Attribute & Search engine optimization

SEO Optimization images is becoming more and more essential in SEO (Search Engine Optimization) for websites. The ALT attribute is really a critical step that is sometimes forgotten. This can be a lost chance of better rankings.


In Google's webmaster guidelines, they advise using alternative text for that images in your web site:

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

Why would they ask us to do that? The answer is easy, really; search engines have a similar problem as blind users. They can't 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 certain keyword density, which is not as relevant for rankings now as it was previously.

On the contrary, high keyword density can, on some search engines, trigger spam filters, which may result in a penalty for the site's ranking. Even without such a penalty, your site's rankings will not take advantage of this plan.
This process also puts persons who use screen readers at a greater disadvantage. Screen readers are software-based tools that really read aloud the items in what's displayed on the screen. In browsing the net, the alt features of images are read aloud too.

Imagine listening to a paragraph of text which is then repetitions of numerous keywords. The page will be not even close to accessible, and, to put it mildly, will be found quite annoying.
What is an Alt attribute?

An ALT attribute shouldn't be used as a description or perhaps a label to have an image, though lots of people use it in that fashion. Though it might seem natural to assume that alternate text is really a label or perhaps a description, it's not!

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

The thing is to provide the same functional information that the visual user would see. The alt attribute text should be the "stand in" when the image itself is unavailable. Think about this: If you were to replace the look using the text, would most users get the same basic information, and wouldn't it create the same response?
Some examples:

 

Some SEO Optimization Tips

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

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

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

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

Some Alt Attribute Guidelines:

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

For images that play only a decorative role in the page, make use of an empty alt (i.e. alt="") or a CSS background image so that reading browsers do not bother users by uttering such things as "spacer image".

Remember that it's the function from the image we are attempting to convey. For example; any button images shouldn't include the word "button" in the alt text. They ought to emphasize the action performed by the button.

Alt text ought to be determined by context. Exactly the same image inside a different context may require drastically different alt text.

Try to flow alt text with the remainder of the text because that's the way it will be read with adaptive technologies like screen readers. Someone listening to your page should hardly be aware that a graphic image can there be.
Please remember that using an alt attribute for every image is needed to satisfy the minimum WAI requirements, which are used as the benchmark for accessibility laws in UK and the remainder of Europe. They are also necessary to meet "Section 508" accessibility requirements in america.

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

Eye-Candy
Mood-Setting
Content and Function

I. Eye-Candy

Eye-Candy are stuff that serve no purpose other than to create a site visually appealing/attractive and (in many cases) fulfill the marketing departments. There isn't any content value (though there may be value to a sighted user).

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

II. Mood-Setting

This is the middle layer of graphics which may serve to set the mood or set the stage as it were. These graphics are not direct content and may 't be considered essential, but they are essential in they help frame what's going on.

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

For instance; Alt text that is just like adjacent text is unnecessary, as well as an irritant to screen reader users. I recommend alt="" or background CSS images in such cases. But sometimes, it's vital that you understand this content in there for all users.

Most times this will depend on context. Exactly the same image in a different context may need drastically different alt text. Obviously, content should always be fully available. The way you go in this example is a judgment call.

III. Content and Function

This is when the look is the actual content. Always alt-ify content and functional images. Title and long description attributes may also be so as.
The main reason many authors can't figure out why their alt text isn't working is they don't know why the images exist. You have to determined precisely what function an image serves. Consider what it's concerning the image that's vital that you the page's intended audience.

Every graphic has a reason behind being on that page: because it either improves the theme/ mood/ atmosphere or it is critical to what the page is trying to explain. Understanding what the image is for makes alt text easier to write. And exercise writing them definitely helps.
A way 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 specific image to create the page understandable towards the listener?

Besides the alt attribute you've got 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 through the user agent. Remember they are invisible and never shown as a "tooltip" when focus is received through the keyboard. (So much for device independence). So use the title attribute only for advisory information.
Second, the longdesc attribute points towards the URL of a complete description of an image. If the information contained in an image is important to the meaning of the page (i.e. some important content would be lost if the image was removed), an extended description than the "alt" attribute can reasonably display should be used. It can offer rich, expressive documentation of a visual image.

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

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

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

Oftentimes, you are better off just choosing your gut instinct -- if it's not necessary to include it, and when you don't have a strong urge to get it done, don't include that longdesc.

However, if it's essential for the whole page to work, then you've to include the alt text (or title or longdesc).

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

The same image may require alt text (or title or longdesc) in a single spot, but not in another. If an image provides absolutely no content or functional information alt="" or background CSS images might be appropriate to use. But if the image provides content or adds functional information an alt will be required and perhaps a long description will be so as. In many cases this type of thing is a judgement call.

Image Search Engine Optimization Tips


Listed below are key stages in optimizing images:

Choose 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. Avoid using underscores like a word separator, such as "brilliant-diamonds.jpg";

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

Ensure that the text nearby the image that's relevant to that image.
Again, do not lose a great opportunity to help your website with your images in search engines. Begin using these steps to rank better on all the engines and drive increased traffic for your site TODAY.

Inga kommentarer:

Skicka en kommentar