WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Standard form button action?

for

From: Ben Regis
Date: Aug 25, 2017 10:16AM


Hi Vanessa

Buttons normally work with the enter key as well. I assume a native HTML <button> isn't being used and an event handler for the enter key hasn't been added. More information on this page - https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_button_role

With submit button being un-selectable - can it be clicked with a mouse?

Kind regards

Ben

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Preast, Vanessa
Sent: 25 August 2017 15:19
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: [WebAIM] Standard form button action?

I'm evaluating a form that has a submit button and a file upload button.

Using keyboard in Chrome...

I can activate the buttons with spacebar but not enter key. Is this normal? Is this OK?

Also, the submit button remains unselectable/unfocusable with keyboard until certain required fields are completed. Is this OK?

Thanks,
Vanessa