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: Birkir R. Gunnarsson
Date: Sep 10, 2014 3:53PM


Suzie

I am not sure, this happens with keyboard only (not with a screen
reader, at least not consistently).
It is impossible to see the state of the radiobutton when the form is submitted.
I believe it gets checked but fro the client side I cannot be 100% certain.


On 9/10/14, Stanzel, Susan - FSA, Kansas City, MO
< <EMAIL REMOVED> > wrote:
> Birkir,
>
> Should I understand from this that the radio button is being checked and
> then the form is submitted?
>
> Susie Stanzel
>
> -----Original Message-----
> From: <EMAIL REMOVED>
> [mailto: <EMAIL REMOVED> ] On Behalf Of Birkir R.
> Gunnarsson
> Sent: Wednesday, September 10, 2014 3:59 PM
> To: WebAIM Discussion List
> Subject: Re: [WebAIM] Would pressing enter on a radiobutton in a <form >
> with onsubmit event be called under 3.2.2 ?
>
> Oh cool, I will go and find that particular phrase.
> I want to be sure I have a consistent approach to these types of things
> going forward, and make the right decision.
> Thanks
> -Birkir
>
>
> On 9/10/14, Jonathan Avila < <EMAIL REMOVED> > wrote:
>> 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.
>>> >>> >>> list messages to <EMAIL REMOVED>
>> >> >> list messages to <EMAIL REMOVED>
>>
>
>
> --
> Work hard. Have fun. Make history.
> > > messages to <EMAIL REMOVED>
>
>
>
>
> This electronic message contains information generated by the USDA solely
> for the intended recipients. Any unauthorized interception of this message
> or the use or disclosure of the information it contains may violate the law
> and subject the violator to civil or criminal penalties. If you believe you
> have received this message in error, please notify the sender and delete the
> email immediately.
> > > >


--
Work hard. Have fun. Make history.