W3C home > Mailing lists > Public > public-comments-wcag20@w3.org > July 2005

Corrections for Client-side Scripting Techniques for WCAG 2.0

From: Gunnar Poulsen Vestergaard <user1975@tiscali.dk>
Date: Sat, 02 Jul 2005 03:24:35 +0100
Message-ID: <42C5FAE3.7020703@tiscali.dk>
To: public-comments-wcag20@w3.org

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:11:05 UTC