Closed (fixed)
Project:
Tendu
Version:
6.x-2.1-beta5
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2009 at 07:19 UTC
Updated:
12 Mar 2009 at 08:10 UTC
A test of beta4 at http://d-theme.com/tendu shows the theme as passing XHTML 1.0 Strict but having a doctype of transitional. Wave and Cynthia Says complain about some links. There are test buttons on the page for validation. These couple of small changes should make your theme pass all the validations for basic Web sites.
Comments
Comment #1
tombigel commentedThanks. I'll look into it
Passing as many validations as possible is something I want for Tendu.
Comment #2
peterx commentedI updated http://d-theme.com/tendu to beta 5. Some errors.
The following lines both use content as the id/name.
There should not be any white space at the start or end of an attribute's value:
<div id="block-user-0" class="block block-user block-even ">* edited to add the code elements around the html.
Comment #3
tombigel commentedYour message is missing the code lines, but I know there is a
<div id="content">and<a name="content">, and that validators shout about it.I'm not sure that this is not allowed.
Anyway I'm aware of it, and if I'll find a reference that will say that this is wrong I'll change it.
Thanks.
Comment #4
peterx commentedhttp://www.w3.org/TR/xhtml1/#h-4.10 refers to http://www.w3.org/TR/xhtml1/#C_8, which says both are fragment identifiers and have to be unique within a document. That means id and name go into the one list and have to be unique within the list.
They can be the same when on the same element. The W3 page uses the following line. Using the same name and id on the one element is common because id is the official id but some old Javascript still looks for name. The Document Object Model must keep a separate list of names just for Javascript.
<h2><a name="C_8" id="C_8">C.8.</a> Fragment Identifiers</h2>Comment #5
tombigel commentedOk, thanks.
Fixed in DEV