W3C home > Mailing lists > Public > public-comments-wcag20@w3.org > November 2007

Re: SCR21: Using functions of the Document Object Model (DOM) to add content to a page

From: Maciej Jaros <egil@wp.pl>
Date: Sun, 04 Nov 2007 02:16:24 +0100
To: public-comments-wcag20@w3.org
Message-ID: <472d1d68ac129@wp.pl>


My first comment was here:

I can't find any newer version of "Techniques for WCAG 2.0" then this:

And I don't see any corrections there!

The function "validateNumbers" still contains an error (one might call 
it a warning). I believe that if it is to be a really good example it 
should be written strictly by the book. And so you should return true at 
the end of this function.

More importantly - the function "addError" still contains a syntax 
error! If you look near the end of it - there is an excessive "}". It is 
excessive because by logically analysing it should be:
   if (strID.length > 0)
      objAnchor.setAttribute('id', strID);
   return objListItem;

Notice no "}" that would much the if above - I believe the if was meant 
to end at the end of line.

"Ragtime" rewelacyjny musical w 2 aktach 
Premiera w Gliwickim Teatrze Muzycznym 
już 23 listopada. Musisz to zobaczyć!
Kliknij: http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2FRagtime-musical.html&sid=83
Received on Sunday, 4 November 2007 01:16:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:14:45 UTC