W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2004

RE: Browser Switch

From: Derek Featherstone <feather@wats.ca>
Date: Wed, 28 Jan 2004 11:44:15 -0500
To: <w3c-wai-ig@w3.org>
Message-ID: <004701c3e5bd$f728c610$fe01a8c0@faottcan001>

Erika wrote:
> I just went back to check my copy of Constructing Accessible
> Websites, and on pp.385-386 there is specific reference to OnClick
> being their recommendation instead of OnChange.  Am I missing
> something here that would change that recommendation?  What would you
> all recommend if not those two? 

I'd recommend a good old fashioned, non-javascript powered submit button.
Predictability with these event handlers is spotty at best in Windows
versions of IE. Other browsers will vary, and would hopefully be more
consistent. IE 5.5 triggers the change event when scrolling down in a select
box with the arrow keys, or when pressing the first letter of the word for
which you hope to select.  IE 6.0 on the other hand doesn't trigger the
change event until after you actually remove the focus from the select box.

Even if you did run the JavaScript onclick, you whisk the person away
without them actually requesting the page be changed by typical form
behaviour. This isn't so bad if you select the correct option, but what
happens to the user that "misses by one"? They don't get a chance to review
their selection before they request the change via the submit button.

Best regards,
Derek Featherstone  feather@wats.ca
Web Accessibility Specialist / Co-founder of WATS.ca
Web Accessibility Testing and Services
http://www.wats.ca   1.866.932.4878 (North America)
Received on Wednesday, 28 January 2004 11:48:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:27 UTC