- From: Maciej Jaros <egil@wp.pl>
- Date: Wed, 31 May 2006 16:52:29 +0300
- 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 UTC