WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Would pressing enter on a radiobutton in a <form > with onsubmit event be called under 3.2.2 ?

for

From: Jonathan Avila
Date: Sep 10, 2014 2:56PM


User errors are still considered user initiated. I know the user agent accessibility guidelines specifically call similar scenarios out.

Jonathan

> On Sep 10, 2014, at 4:51 PM, "Birkir R. Gunnarsson" < <EMAIL REMOVED> > wrote:
>
> Greetings everyone!
>
> In keyboard only testing I realized that if you press enter on a
> radiobutton in a form with a submit button and onsubmit attribute
> triggers the submition of that form.
> radiobuttons should only be checked using the spacebar key but it is
> quite likely that some users may try to check radiobuttons using the
> enter key.
>
> Would this be a violation of 3.2.2 (on input), or just expected
> browser behavior?
> I tested in Firefox and IE, same result.
> Cheers
> -B
> --
> Work hard. Have fun. Make history.
> > >