I'm getting the following validation errors for XHTML:

Validation Output:  2 Errors

   1. Error Line 96, Column 80: document type does not allow element "ul" here; assuming missing "li" start-tag.

      …k"> <ul class="menu"><ul class="menu"><li class="leaf first active-trail"><a 

      ✉
   2. Error Line 107, Column 9: end tag for "li" omitted, but OMITTAG NO was specified.

      </ul></ul> </div>

      ✉

      You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

And these errors for CSS:

263 	.blk-outline2 	Parse Error ;, color: #FB9E9E;
263 	.blk-outline2 	Parse error - Unrecognized } 

Otherwise, great theme! I love it.

Comments

B.P.B’s picture

I think the error is due to

being printed twice. I never modified the menu area of page.tpl.php. Please help.

peterx’s picture

The following line is the culprit. See the explanation and demo at http://d-theme.com/litejazz.
<div id="primary" class="clear-block"> <?php print theme('menu_tree', menu_tree('primary-links')); ?> </div>
Replace with:
<div id="primary" class="clear-block"> <?php print menu_tree('primary-links'); ?> </div>

peterx’s picture

The following line needs changing from span to div. http://d-theme.com/litejazz explains the error and demonstrates the result of the change.
<span class="taxonomy"><?php print $terms?></span>
Change to:
<div class="taxonomy"><?php print $terms?></div>

peterx’s picture

The following line generates illegal whitespace. http://d-theme.com/litejazz explains the error and demonstrates the result of the change.
<div id="navigation" class="menu <?php if ($primary_links) { print "withprimary"; } if ($secondary_links) { print " withsecondary"; } ?> ">
Replace with:
<div id="navigation" class="menu<?php if ($primary_links) { print " withprimary"; } if ($secondary_links) { print " withsecondary"; } ?>">

There are also inline styles without a default style sheet language specified. I added changes for that and zipped the results. The zip file is on the demo page. This theme with the changes in the zip file let the page validate to WCAG AA.

Kisugi Ai’s picture

Status: Active » Closed (fixed)

closed -- issue fixed for 2 weeks with no activity.