W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2009

Re: 4.1.1 question, not clearly documented

From: Christophe Strobbe <christophe.strobbe@esat.kuleuven.be>
Date: Tue, 24 Feb 2009 14:20:52 +0100
Message-Id: <>
To: "w3c-wai-gl@w3.org" <w3c-wai-gl@w3.org>

At 00:25 20/02/2009, Cynthia Shelly wrote:
>I couldn't find a definitive answer to this question by looking at 
>the 4.1.1 text or failures.
>If a page has a doctype of XHMTL 1.0 and includes an IMG or INPUT 
>tag that isn't self-closing, does it pass 4.1.1?
><input type="text"> is allowed in HTML
><input type="text" /> would be expected in XHTML
>BUT, it's not entirely clear whether
><input type="text"> in XHTML passes.  I don't believe it causes any 
>problems, it's still parseable by user agents, but I'm not sure if it violates
>"elements have complete start and end tags, elements are nested 
>according to their specifications,"

The input element is an empty element type. The only way it can have 
complete start and end tags, in my opinion, is by having both a start 
and an end tag, so <input type="text"></input> or <input type="text" 
/>. (The latter is recommended by XHTML 1.0's HTML compatibility 
guidelines: <http://www.w3.org/TR/xhtml1/#C_2>.

Best regards,


>Can we clarify this in a technique or failure?

Christophe Strobbe
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
B-3001 Leuven-Heverlee
tel: +32 16 32 85 51
Please don't invite me to LinkedIn, Facebook, Quechup or other 
"social networks". You may have agreed to their "privacy policy", but 
I haven't.

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Received on Tuesday, 24 February 2009 13:21:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:34:05 UTC