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

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

From: Christophe Strobbe <christophe.strobbe@esat.kuleuven.be>
Date: Mon, 24 Apr 2006 19:23:58 +0200
Message-Id: <6.0.0.22.2.20060424192025.0308d9e8@mailserv.esat.kuleuven.be>
To: <public-wcag-teama@w3.org>


At 19:17 24/04/2006, Gregg Vanderheiden wrote:
>If there is doubt as to whether this is or isn't a failure - then we should
>pull it from this release.
>
>Christophe - it sounds like this is true.  Correct?

Yes, that is my understanding now.

>If so I will pull it.

OK.

If I find the time, I can create a mini test suite with files that people 
can evaluate with different UA and AT, so that we can document in what 
circumstances document.write causes problems.

Regards,

Christophe

>Gregg
>
>  -- ------------------------------
>Gregg C Vanderheiden Ph.D.
>Professor - Ind. Engr. & BioMed Engr.
>Director - Trace R & D Center
>University of Wisconsin-Madison
>The Player for my DSS sound file is at http://tinyurl.com/dho6b
>
>-----Original Message-----
>From: public-wcag-teama-request@w3.org
>[mailto:public-wcag-teama-request@w3.org] On Behalf Of Christophe Strobbe
>Sent: Monday, April 24, 2006 12:06 PM
>To: public-wcag-teama@w3.org
>Subject: RE: Failure due to generating markup using document.write() or ...
>
>
>At 18:45 24/04/2006, you wrote:
>
> >So you are suggesting that we REMOVE the failure?
> >
> >(did we accept this one at a meeting?)
>
>We said: "accept with edits (Team A to confirm w/ Cynthia and Yvette wrt
>comments on using these in an accessible way)".
>Cynthia said that testing with document.write in different browsers and with
>different AT didn't reveal problems,  at least if the HTML that is inserted
>is well-formed and semantically correct.
>At this moment, I don't know how to turn this into a failure for 4.1.2 (and
>the way it is currently written is closer to 4.1.1), so I don't know how to
>move forward with this.
>
>Regards,
>
>Christophe
>
> >Gregg
> >
> >  -- ------------------------------
> >Gregg C Vanderheiden Ph.D.
> >Professor - Ind. Engr. & BioMed Engr.
> >Director - Trace R & D Center
> >University of Wisconsin-Madison
> >The Player for my DSS sound file is at http://tinyurl.com/dho6b
> >
> >-----Original Message-----
> >From: public-wcag-teama-request@w3.org
> >[mailto:public-wcag-teama-request@w3.org] On Behalf Of Christophe
> >Strobbe
> >Sent: Monday, April 24, 2006 11:32 AM
> >To: public-wcag-teama@w3.org
> >Subject: RE: Failure due to generating markup using document.write() or ...
> >
> >
> >
> >At 18:09 24/04/2006, Gregg Vanderheiden wrote:
> > >Hi Christophe
> > >
> > >I'm not sure I understand your email
> > >
> > >1) What action are you recommending?
> >
> >At the moment, it looks like we need to drop this failure.
> >
> > >2) What does  " But the current failure has not been accepted,
>eventually."
> > >mean?
> >
> >Acceptance depended on whether we could find accessible and
> >inaccessible ways of using document.write(). The way the title is
> >phrased suggests that using document.write() is a problem in general
> >(unparsed content), but it turns out that it may only be a problem if
> >you use it to generate content that fails the guidelines (e.g.
> >ambiguous document structure). We could have a "Failure due to using
> >document.write() or document.writeln() to generate an ambiguous
> >document structure", but that would be just a reiteration of SC
> >4.1.1 with the addition of JavaScript.
> >
> >Regards,
> >
> >Christophe
> >
> >
> > >Thanks
> > >
> > >Gregg
> > >
> > >  -- ------------------------------
> > >Gregg C Vanderheiden Ph.D.
> > >Professor - Ind. Engr. & BioMed Engr.
> > >Director - Trace R & D Center
> > >University of Wisconsin-Madison
> > >The Player for my DSS sound file is at http://tinyurl.com/dho6b
> > >
> > >-----Original Message-----
> > >From: public-wcag-teama-request@w3.org
> > >[mailto:public-wcag-teama-request@w3.org] On Behalf Of Christophe
> > >Strobbe
> > >Sent: Monday, April 24, 2006 8:48 AM
> > >To: public-wcag-teama@w3.org
> > >Subject: Failure due to generating markup using document.write() or ...
> > >
> > >
> > >
> > >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 17:24:05 GMT

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