WebAIM - Web Accessibility In Mind

E-mail List Archives

onchange javascript event in auto dropdown box

for

From: Lee, Samson (HRSA) [C]
Date: Jul 9, 2008 1:40PM


On this WebAIM's article -
http://webaim.org/techniques/javascript/eventhandlers.php#onchange - the
"bad" (inaccessible) dropdown box in the onchange javascript event
example is not accessible because it works with a mouse only. This is
what I thought, too, but I just found that you can actually navigate and
pick an item from the dropdown if you press Alt + down arrow and hit
Enter. It's probably not user friendly this way, but I guess technically
this is still 508 compliant? I think it should be avoided as much as
possible, but when you have limited screen real estates with multiple
dropdown boxes, I don't want to add multiple "Go" buttons. In this kind
of scenario, I guess I can have the dropdown boxes without the
buttons... am I right on this, or are there any other things that I
should consider?