WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Submit button


From: Alex Hall
Date: May 26, 2016 1:56PM

Speaking from my own experience, it seems like space is normally used for
selecting items. I can imagine hitting enter for radio buttons or in select
lists. What if you added JS to catch the enter press event and ignore it on
all items but text fields? Something like that might give you the best of
both worlds.

On Thu, May 26, 2016 at 3:49 PM, Alan Zaitchik < <EMAIL REMOVED> >

> We have a complicated form with various radio buttons and checkboxes,
> textareas, and you name it. Currently there is a Submit button on the
> bottom; a user who hits Enter will cause submission of the form, of course.
> We hear that some users are accidentally hitting Enter when they really
> just want to select a radio or checkbox or select value, not submit the
> form. We are being asked to consider changing the submit input button to a
> mere "button" with an onclick handler that will submit the form only if the
> button is actually clicked. I'm worried that users of screen readers and
> other users will find it terribly inconvenient to "tab" their way to the
> button. Does anyone know of facts that show how many users will expect/not
> expect an Enter to submit a form? Is there a real issue here?
> Thanks for your input to this submission ( pun intended).
> A
> Alan Zaitchik | Senior Technologist / Senior Associate
> Center for Social Innovation
> Needham, MA
> > > > >

Alex Hall
Automatic Distributors, IT department