WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Whether or not todisableformsubmitbutton

for

From: Eller, Meagan M
Date: Dec 19, 2023 12:24PM


Personally, I hate when forms have disabled submit buttons. Just let me try to submit the form and show me the errors! I have run into a non-zero number of forms that I’ve filled out but the Submit button stays disabled. Sometimes I can eventually figure out what I did wrong, but sometimes I can't. Disabling the submit button prevents me from quickly finding my error.

Is there a reason you can't just let the person submit the form and then find out what the error is?

To me, this is more a UX issue than an accessibility issue.


Best,
Meagan

From: WebAIM-Forum < <EMAIL REMOVED> > on behalf of Hill, Barry (Accessibility Tester) via WebAIM-Forum < <EMAIL REMOVED> >
Date: Tuesday, December 19, 2023 at 11:31 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Cc: Hill, Barry (Accessibility Tester) < <EMAIL REMOVED> >
Subject: Re: [WebAIM] [EXTERNAL] Re: Whether or not to disable form submit button
The particular case I'm looking at has five options that can be selected as check boxes, from one to five of them depending on user choice. Then there is that submit button to action the selections. Apparently, we cannot use in-line validation for the check boxes. Should this still be an enabled submit button using the subsequently generated error message to explain the error, or can we use Aria describedby to explain why the submit button is disabled? If there is another solution for this simple form, I'd be only too pleased to hear it.

Cheers

Barry