W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 2006

Re: About tests 37-41 (headers)

From: Johannes Koch <koch@w3development.de>
Date: Tue, 02 May 2006 17:05:49 +0200
Message-ID: <4457754D.70503@w3development.de>
To: 'WCAG' <w3c-wai-gl@w3.org>

Chris Ridpath wrote:

>> The HTML 4 DTDs forbid the nesting of form through exclusion:
>>
> The WCAG2 Techniques document (still draft) has a technique regarding 
> validation:
> http://www.w3.org/TR/WCAG20-TECHS/#G134
> 
> It states "HTML pages include a document type declaration (sometimes 
> referred to as !DOCTYPE statement) and are valid according to the HTML 
> version specified by the document type declaration."
> 
> So this technique will, in effect, forbid nested forms.

Only for HTML, not for XHTML.

   <form ...>
     <div>
       <form ...>
         ...
       </form>
     </div>
   </form>

is valid XHTML but not conforming to spec.
-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)
Received on Tuesday, 2 May 2006 15:06:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:45 GMT