WCAG 2.0 Comment Submission

Name: Maciej Jaros
Email: <egil@wp.pl>
Affiliation: 
Document: W2
Item Number: Success Criterion 4.2.2
Part of Item: 
Comment Type: TE
Comment (Including rationale for any proposed change):
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.





Proposed Change:

Received on Tuesday, 6 June 2006 06:29:07 UTC