WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: onchange javascript event in auto dropdown box

for

From: Christian Heilmann
Date: Jul 9, 2008 2:00PM


Lee, Samson (HRSA) [C] wrote:
> 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?
>
>
Why don't you tell us what interface you need to build (what tasks are
the users to fulfil?) then we can help you out. This sounds a lot like
you are getting bogged down in the technicalities while there might be
an easier solution?