W3C home > Mailing lists > Public > public-comments-wcag20@w3.org > June 2006

Client-side Scripting Techniques for WCAG 2.0 (Dynamic content generation)

From: Maciej Jaros <egil@wp.pl>
Date: Wed, 31 May 2006 16:52:29 +0300
Message-ID: <447D9F9D.2030608@wp.pl>
To: public-comments-wcag20@w3.org

Hi.

This is about:
http://www.w3.org/TR/WCAG20-SCRIPT-TECHS/#doc-write

I think the last line of the Example:
    parentelem.appendChild(list);
should be:
    document.menu.appendChild(list);

If I understood correctly in the Deprecated Example <p> and <h1> were 
added to root element (or at least some current element):
    document.write("<h1>Welcome to my site</h1>");
    document.write("<p>Lorem ipsum dolor sit amet");
but the list was added specifically to document.menu:
    document.menu.innerHTML = "<ul><li><a href="foo.html">foo</a>";

If I misunderstood something then please add some more comment to that 
example.

--
Maciej Jaros
E-mail: egil..wp.pl
Received on Thursday, 1 June 2006 01:52:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 17 July 2011 06:13:20 GMT