Strict XHTML validation error : "tabindex"

This is a discussion on "Strict XHTML validation error : "tabindex"" within the Web Page Design section. This forum, and the thread "Strict XHTML validation error : "tabindex" are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 23rd, 2007, 18:33
Junior Member
Join Date: May 2007
Location: London
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Strict XHTML validation error : "tabindex"

Hi,

I'm unable to pass the W3C validator with this page, It uses a Spry Accordion from Dreamweaver and it's the Spry's code that gives me an error

Line 92, Column 54: there is no attribute "tabindex". <div id="Accordion1" class="Accordion" tabindex="1"> "You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute."

Must I switch to transitional, and i so what doctype need I use exactly? Or is there a way to validate the Spry as strict, that you know of?

As ever any help would be much appreciated. The page in question is at

http://www.eccebio.org/index.html

Thanks, Adam
Reply With Quote

  #2 (permalink)  
Old Aug 24th, 2007, 16:21
Up'n'Coming Member
Join Date: Nov 2006
Location: Ipswich
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Strict XHTML validation error : "tabindex"

The DIV element does not support the tabindex attribute.

"The following elements support the tabindex attribute: A, AREA, BUTTON, INPUT, OBJECT, SELECT, and TEXTAREA."

http://www.w3.org/TR/html401/interac...#adef-tabindex
Reply With Quote
Reply

Tags
spry, spry accordion, strict xhtml, valid xhtml, validate spry, w3c markup validator, xhtml

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Getting the &quot;Microsoft JET Database Engine error '80040e14'&quot; error. VegaLA Classic ASP 3 Jan 26th, 2008 00:12
Problem validating "Strict" with forms Craigj1303 Web Page Design 2 Jan 22nd, 2008 15:01
[SOLVED] Show "Image" Depends On User "Status"? Monie Classic ASP 6 Oct 16th, 2007 01:22
? IS "meta name="robots" content="?" necessary in pages ? Love2Java Starting Out 6 Aug 8th, 2007 13:48
window.opener.document["nameForm"].getElementById("someid").value; doesnt work drpompeii JavaScript Forum 0 Feb 17th, 2007 23:09


All times are GMT. The time now is 01:38.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43