Corrections for Client-side Scripting Techniques for WCAG 2.0

I have some corrections for the document Client-side Scripting 
Techniques for WCAG 2.0 found at the URI
http://www.w3.org/TR/2005/WD-WCAG20-SCRIPT-TECHS-20050630/

In the section "1.1 Form URIs" there is an error. There is an example 
which states that when a onsubmit function returns true then the form is 
not submitted. It is the other way around: When a function returns false 
the form is not submitted.

In the section "2.2 Dynamic content generation" innerHTML is described 
as a method but it is a property, not a method.
A deprecated example states that the following is incorrect HTML:
document.write("<p>Lorem ipsum dolor sit amet");
But it depends on whether we speak of HTML 4.01 or XHTML 1.0. Omitting 
the end tag for the P element is legal HTML 4.01 markup.
There is an extensive example containing the function fillContent(). But 
it lacks the following line:
itemone.appendChild(itemonelink);

I am not subscribed to this mailing list.

Gunnar P. Vestergaard

Received on Sunday, 3 July 2005 01:58:21 UTC