• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Coleen
#1 Posted : Saturday, December 22, 2007 1:27:23 PM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

Exists in 3 as well and all versions. Using the image rotators in the wrong spot can cause SEO trouble as the alt tags are not being applied.


<SPAN class=err_type> Line 44, Column 264: <SPAN class=msg>required attribute "alt" not specified.<CODE class=input>…ship.gif" style="border-width:0px;" /<STRONG title="Position where error was detected.">&gt;</b>&lt;/a&gt;[/code]</PRE>




The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for <CODE>type[/code] are <CODE>type="text/css"[/code] for <CODE>&lt;style&gt;[/code] and <CODE>type="text/javascript"[/code] for <CODE>&lt;script&gt;[/code].
Coleen
#2 Posted : Wednesday, December 26, 2007 10:44:52 PM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

Just following up, after spending a month going back and forth with Microsoft on our indexing troubles there it's apparent it's leaving the site immediately after encountering the 2nd image without an alt tag. The cached page results also show only the header.

Is there a hack/fix for this short of removing image rotators in the header? We're not actually rotating images, we just had static ads up there.
Coleen
#3 Posted : Tuesday, January 1, 2008 7:44:01 PM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

Marcus, any update on a fix for this? If there is none we have to eliminate our ads as Livebot refuses to index below the missing alt tags. Ridiculous on their part, but because of the location on our site it's doing a number.

Thanks
Cliff
#4 Posted : Wednesday, January 2, 2008 12:06:22 AM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

The problem is that they are using an asp:hyperlink to add the image, which is way too limited. The module should be rewritten for that reason, and also to better handle images that don't have links. The following edit should give you the alt attribute for now, though.

Just replace the commented out code with the following - around line 24 - in \BVModules\ContentBlocks\Image Rotator\view.ascx.vb:
Code:
'Me.lnkMain.ImageUrl = Page.ResolveUrl(data.Setting1)
Me.lnkMain.Controls.Add(New LiteralControl("<img src=""" & Page.ResolveUrl(data.Setting1) & """ alt=""" & data.Setting4 & """ />"))
Cliff
#5 Posted : Wednesday, January 2, 2008 12:07:58 AM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Just out of curiosity, where did you get the info that Livebot won't crawl the page because an image doesn't have an alt attribute?
jetheredge
#6 Posted : Wednesday, January 2, 2008 8:42:57 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

We will log this one as a bug and get it fixed.
Justin Etheredge
Senior Software Engineer
BVSoftware
Coleen
#7 Posted : Wednesday, January 2, 2008 5:11:03 PM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

Cliff, check email.

Justin,thanks...real minor but you guys did such a great job with the html the whole site might as well be compliant.
Cliff
#8 Posted : Thursday, January 3, 2008 4:51:23 AM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Justin, keep in mind that it should probably be a literal or something. Should especially render no anchor tags when the image isn't linked. An asp:hyperlink isn't a reliable way to add images period, much less images which might not be linked.
jetheredge
#9 Posted : Thursday, January 3, 2008 9:02:26 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Yes, asp hyperlink's can be troublesome in a few ways. I will add your comments to the bug report.
Justin Etheredge
Senior Software Engineer
BVSoftware
Coleen
#10 Posted : Thursday, January 3, 2008 9:29:08 AM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

That does work by the way, thanks Cliff.

It's an issue with fresh sites coming to MSN. Let's face it, it's a joke that MSN would have trouble with sites for such a minor issue but it did/does/is in some cases. That little fix puts an alt tag in...
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012