WebAIM - Web Accessibility In Mind

E-mail List Archives

onchange event in html select

for

From: adam solomon
Date: Jan 27, 2011 4:15AM


In this article about accessible event
handling<http://webaim.org/techniques/javascript/eventhandlers>;on
there is an example of an html select whose selected item leads the
user
to a new page. The suggestion to make the select element accessible is to
add a button and have the button click handle the appropriate event. The
reason given is that a keyboard user is unable to navigate through the list
items without causing a select event to occur at each list item, thus
forcing the user to switch pages many times to get to the end of the list.
I may be missing something obvious, yet I was able to navigate through the
list items with the keyboard without causing a selection at each one, both
in IE8 and FireFox. I know that traditionally we have always heard that a
button must be provided with the select in such a case, yet is it really
inaccessible without the button?
Thank you in advance for any feedback.

--
adam solomon
linkedin <http://il.linkedin.com/pub/adam-solomon/24/449/a4>;
blogix <http://adam.blogix.co.il/>;