Welcome to WebmasterWorld Guest from 54.167.157.247

Forum Moderators: incrediBILL

Message Too Old, No Replies

Spry Validation Error

W3C Validation Error - there is no attribute "tabindex"

   
5:06 pm on Mar 11, 2011 (gmt 0)

5+ Year Member



Hi guys,

I wondered if someone could help me sort out a validation error I'm getting with a Spry Tabbed Pannel inserted on a webpage.

The error:

Error Line 35, Column 46: there is no attribute "tabindex"

<li class="TabbedPanelsTab" tabindex="0">Home</li>

I've never come across it before, I've also been searching around and can't find an answer anywhere.

Cheers,

James
6:02 pm on Mar 11, 2011 (gmt 0)

10+ Year Member



The "tabindex" attribute does not apply to "li" items. It is for input-type things only.
6:18 pm on Mar 11, 2011 (gmt 0)

5+ Year Member



Right I see,

So how come the error is coming up as standard? Or have I mistakenly altered the code?

Also what do I need to do to resolve this issue?

Cheers,

James
6:34 pm on Mar 11, 2011 (gmt 0)

10+ Year Member



Without a listing of code in that area, I can only guess. Thw word "Home" in there suggests that it is supposed to be a link. You might have somehow droped the "a" that used to be in there.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month