W3C home > Mailing lists > Public > public-wcag-teama@w3.org > April 2006

Failure due to generating markup using document.write() or ...

From: Christophe Strobbe <christophe.strobbe@esat.kuleuven.be>
Date: Mon, 24 Apr 2006 15:48:28 +0200
Message-Id: <6.0.0.22.2.20060424152926.00a2e2d0@mailserv.esat.kuleuven.be>
To: public-wcag-teama@w3.org


In 4.1.2 we have a "Failure due to generating markup using document.write() 
or document.writeln() to write unparsed content" (previous name: "Failure 
due to generating markup using methods for writing unparsed content"). 
Apparently, document.write() does not cause problems as long as the html 
that is inserted is well-formed and semantically correct. There are 
problems when you use client-side script to generate HTML that doesn't meet 
the guidelines in some way, or modifying good HTML code in a way so that it 
no longer meets the guidelines. This is very general, unless you create one 
such (scripting) failure for every success criterion where it is 
applicable. But the current failure has not been accepted, eventually.

Regards,

Christophe


-- 
Christophe Strobbe
K.U.Leuven - Departement of Electrical Engineering - Research Group on 
Document Architectures
Kasteelpark Arenberg 10 - 3001 Leuven-Heverlee - BELGIUM
tel: +32 16 32 85 51
http://www.docarch.be/ 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Received on Monday, 24 April 2006 13:48:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:40 GMT