W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2004

[script techniques] onactivate not valid HTML 4.01/XHTML 1.0 [Was: Re: Updated Internal Drafts Published]

From: Martin Honnen <Martin.Honnen@gmx.de>
Date: Sat, 09 Oct 2004 15:39:50 +0200
Message-ID: <4167EA26.8090109@gmx.de>
To: "'WAI GL (E-mail)'" <w3c-wai-gl@w3.org>

Ben Caldwell wrote:

> Just a quick note to let everyone know that the latest round of internal working drafts has been published. 

> Scripting Techniques for WCAG 2.0
> http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-SCRIPT-TECHS-20041008/ 

That draft in
suggests to use an onactivate event handler in HTML 4.01/XHTML 1.0 
markup, giving the following example:
   <p><a href="menu.php" onactivate="checkForCookie()">main menu</a></p>
however I think that is wrong as that is neither valid HTML 4.01 nor 
valid XHTML 1.0. If you look at the HTML 4.01 specification then it 
defines event handler attributes in
and you do not find onactivate there. It doesn't make much sense then to 
have a script techniques example suggesting to use an attribute that is 
not part of HTML 4.


	Martin Honnen
Received on Saturday, 9 October 2004 13:40:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:33:51 UTC