Submit button state
A grayed-out button gives no clue what is missing, and one that works twice sends things twice.
The answer
Keep submit usable so it shows what is missing, and stop a second submission while the first is processing. As strong as the weakest rule behind it: moderate.
-
Keep the submit button usable before the form is complete, so pressing it shows what’s missing.
GOV.UK, NHS, USWDS, Primer and Cloudscape agree; USWDS reviewed about a dozen references, mostly practitioner; Carbon allows a disabled control on short forms. No experiment exists. With the major systems now read this moves from the pilot's 2 to 3.
- Applies when
- Always.
- Based on
- Convention
- Principle
- Keep people informed
- Common mistake
- A control that stays unusable with nothing saying what is missing (rule 1).
- ReviewReview: Disabled States Research Findings 2023U.S. Web Design System team, 2023
- GuidanceGuidance: Button component, GOV.UK Design SystemGOV.UK Design System
- Guidance: Buttons, NHS digital service manualNHS England
- Guidance: Button guidelines, Primer (GitHub)GitHub Primer
- Guidance: Forms pattern, Validation sections (Primer, GitHub)GitHub
- Guidance: Validation pattern (Cloudscape Design System)Amazon Web Services
- Guidance: Forms pattern and Form component usage/accessibility pages (Carbon)IBM
-
Block a second submit while the first is processing, on the page and on the server.
GOV.UK and NHS build it in; Baymard observed older testers double-clicking. Rated 3.
- Applies when
- Always.
- Based on
- Practitioner research
- Principle
- Prevent errors
- Common mistake
- Two orders or payments from a double click (rule 2).
- User researchUser research: People Still Double-Click OnlineBaymard Institute, 2010
- GuidanceGuidance: Button component, GOV.UK Design SystemGOV.UK Design System
- Guidance: Buttons, NHS digital service manualNHS England
The other rules
-
Show that the submit is processing as soon as it starts.
Design-system guidance, and it follows from the response-time foundation: people use a service less when responses are slow and unacknowledged, so an immediate acknowledgement is the direct remedy. Foundation finding rated 4, so this is 3.
- Applies when
- Always.
- Based on
- Derived from research
- From research on
- Response time
- Principle
- Keep people informed
- ReviewReview: Disabled States Research Findings 2023U.S. Web Design System team, 2023
- GuidanceGuidance: Button guidelines, Primer (GitHub)GitHub Primer
-
Label the button with what it does.
Convention across three systems. Rated 3.
- Applies when
- Always.
- Based on
- Convention
- Principle
- Speak the person’s language
- GuidanceGuidance: Button component, GOV.UK Design SystemGOV.UK Design System
- Guidance: Buttons, NHS digital service manualNHS England
- Guidance: Button guidelines, Primer (GitHub)GitHub Primer
-
Keep primary and secondary buttons in the same order everywhere.
Two survey studies of next and previous buttons (1,720 and 41 people) found no difference in time or break-off, only in satisfaction. Rated 1.
- Applies when
- There is more than one action.
- Based on
- Research
- Principle
- Be consistent
- ExperimentsExperiment: Placement and Design of Navigation Buttons in Web SurveysSurvey Practice, 2011
- Experiment: Navigation buttons in web-based surveys, respondents' preferences revisited in the laboratorySurvey Practice, 2011
- Experiment: Button ambiguity, alignment and orderTheorem
- GuidanceGuidance: Buttons on forms and surveys, a look at some researchEffortmark, 2012
Accessibility
- WCAG 2.2 · 3.2.2 · AThe form is submitted by the control, not by a field changing.
- WCAG 2.2 · 4.1.3WCAG 2.2, 4.1.3 (AA) for a processing message shown without a focus change.
- Sources note that a disabled control is skipped by keyboard focus and gives no reason; none tests it.
Open questions
- OpenNo experiment on a submit control disabled until the form is valid was found.
- OpenPlacement (rule 5): the studies are of survey navigation, not submit and cancel.
Sources
- ReviewReview: Disabled States Research Findings 2023U.S. Web Design System team, 2023
- ExperimentsExperiment: Placement and Design of Navigation Buttons in Web SurveysSurvey Practice, 2011
- Experiment: Navigation buttons in web-based surveys, respondents' preferences revisited in the laboratorySurvey Practice, 2011
- Experiment: Button ambiguity, alignment and orderTheorem
- User researchUser research: People Still Double-Click OnlineBaymard Institute, 2010
- GuidanceGuidance: Button component, GOV.UK Design SystemGOV.UK Design System
- Guidance: Buttons, NHS digital service manualNHS England
- Guidance: Button guidelines, Primer (GitHub)GitHub Primer
- Guidance: Forms pattern, Validation sections (Primer, GitHub)GitHub
- Guidance: Validation pattern (Cloudscape Design System)Amazon Web Services
- Guidance: Forms pattern and Form component usage/accessibility pages (Carbon)IBM
- Guidance: Buttons on forms and surveys, a look at some researchEffortmark, 2012
Related
- When to validate a form fieldCheck on submit, and do not show an error until people have finished the field.Answer: moderate.
- Loading indicatorsShow nothing for waits under a second, and limit the loading state to the part that is loading.Answer: weak.
- Confirming vs undoing a destructive actionAct at once and offer undo. Ask “are you sure?” only when it truly cannot be undone and is rare.Answer: moderate.