Link to home
Start Free TrialLog in
Avatar of rkmilam
rkmilamFlag for United States of America

asked on

XHTML Validate, Dreamweaver tabbed Panels <li>

Hi,
I am trying my best to build a robust web site.  I'm a newbie using Dreamweaver.  I have built a page on my site using Dreamweaver's Tabbed Panel tool.  I then used Dreamweaver's Validate tool.  It returns the following error message for the two <li> lines of code.

The tag: <li> doesn't have an attribute: "tabindex" is currently active version [XHTML 1.0 transitional]

Can you let me know what needs changing?

Thanks

<div id="TabbedPanels1" class="TabbedPanels">
        <ul class="TabbedPanelsTabGroup">
          <li class="TabbedPanelsTab style1" tabindex="0">Form</li>
          <li class="TabbedPanelsTab" tabindex="0">ePTFE</li>
          <li class="TabbedPanelsTab" tabindex="0">Porous Plastic</li>
          <li class="TabbedPanelsTab" tabindex="0">Sintered Bronze</li>
          <li class="TabbedPanelsTab" tabindex="0">Sintered Ceramic</li>
          <li class="TabbedPanelsTab" tabindex="0">PolyMesh&#8482;</li>
          <li class="TabbedPanelsTab" tabindex="0">eCharge</li>
          <li class="TabbedPanelsTab" tabindex="0">Quadro&#8482;</li>
          <li class="TabbedPanelsTab" tabindex="0">Other</li>
        </ul>
        <div class="TabbedPanelsContentGroup">
          <div class="TabbedPanelsContent">

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Rouchie
Rouchie
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jason C. Levine
Also, what is your declared doctype?

(check the first line of the HTML)
Avatar of rkmilam

ASKER

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Okay, Rouchie is most likely correct then. Wrong element has the tabindex.

FWIW, I would just remove them.  Your browser will do it without your intervention.  It's only needed when you want to force a certain progression that is not reflected in the layourt.