RE: Browser Switch

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.
--
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