Alt Tags For Endcaps? (Full Version)

All Forums >> [Web Development] >> Search Engine Optimization and Web Business



Message


jengoggtim -> Alt Tags For Endcaps? (2/17/2009 16:20:49)

I'm using three different endcap images on my site. Two of the images are always used for the same purpose and would have the same alt tag. The third image is used with some H2 tags (1-3 on many pages). Should endcap images have an atl tag? If so, seo-wise is it okay if one of these images has a different alt tag each time it is used (the alt tag would be a repetition of the H2 tag). For example, if the H2 tag is "Bamboo Polo Shirts' then the alt tag would also be " Bamboo Polo Shirts". Thanks!




d a v e -> RE: Alt Tags For Endcaps? (2/17/2009 16:38:13)

if the end cap simply repeats the the adjacent heading then use blank alt text on the end cap :
alt=" "

the alt tag isn't needed for simply decorative images, unless they have some purpose that would be missing without it. having a screen reader read "Bamboo Polo Shirts" twice is pointless.




gibbs_h -> RE: Alt Tags For Endcaps? (2/18/2009 4:18:46)

yes, David is right....:)

use alt tag for describing your images, not just for getting benefit of SEO.




jengoggtim -> RE: Alt Tags For Endcaps? (2/18/2009 13:14:03)

So the code would look like this?

<img alt="" src="images/endcap1.jpg" width="37" height="34" />

The page will validate even though an alt tag is missing?




TexasWebDevelopers -> RE: Alt Tags For Endcaps? (2/18/2009 13:23:29)

Yes, it will validate. The alt tag is there...just without a text description.




SEOMarketer -> RE: Alt Tags For Endcaps? (11/25/2009 1:32:33)

but alt tags help in seo




womble -> RE: Alt Tags For Endcaps? (11/25/2009 10:04:17)


quote:

ORIGINAL: SEOMarketer

but alt tags help in seo


They help very little in SEO. The search engines got wise to black hat SEO scammers stuffing them full of keywords. Fill an alt attribute with rubbish or repeat the same phrase over and over again in alt attributes and you're likely to really annoy someone who relies on the alt text to make sense of a page, and most likely not do yourself any favours with the search engines either.

Alt attribute text should be used for briefly describing an image only, and nothing else. Screenreader users rely on them, and if your images don't load for any reason, visitors will at least have an idea what the images should be showing.

Unless you're using an image for image replacement, in which case alt text will only be useful if your actual heading text is off-screen, as Dave says, repeating the same phrase twice is pointless. If you're using an image replacement technique where the heading text is hidden by the image, the screenreader user will still get the heading text read to them from the <Hn> tag, so don't need the alt text. If images don't load or CSS support is off then the actual text will show instead. If your text's way off the screen by 9999px or whatever though using the alt attribute is wise. Though screenreader users will still get the text read to them even if it's way off screen, and if CSS in disabled just the plain text will show anyway, if CSS is on but images are off or don't load properly, a visitor will get a blank space unless you've included some meaningful alt text.

Personally I can't see a reason why endcaps should need any alt text, because as Dave said, they're purely decorative images. Save yourself the typing (and the few extra bytes of data that could make all the difference to your load times [;)]) and just leave empty alt attributes - it'll validate just fine. As long as alt="" is there the validator doesn't care whether there's anything between the quote marks.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875