On this page
What this issue is
Your form tells people which fields are mandatory by changing colour only. For example, labels turn red, or the input gets a red border, and nothing else sets those fields apart. WCAG 2.2 Success Criterion 1.4.1 (Use of Colour) says colour must not be the only way to show information or prompt an action.
Why it costs you leads or sales
Colour only
- Required labels are red, optional labels are grey
- No asterisk, no word "required"
- Screen reader reads every field the same way
- Colour-blind users cannot tell the difference
Text plus attribute
- Label ends with an asterisk and a legend explains it
- Optional fields say "(optional)"
- Input has the required attribute
- Screen reader announces "required"
Example: illustrative numbers only, showing how unclear required fields can raise first-attempt validation errors.
How to check if your site has it
- Open the form and look for any text cue (asterisk, "required") beside mandatory fields.
- Apply a greyscale filter (for example the browser DevTools Rendering tab, Emulate vision deficiencies, Achromatopsia) and see if you can still tell required from optional.
- Inspect each mandatory input and check for
requiredoraria-required="true". - Turn on a screen reader (NVDA, VoiceOver) and tab through; each required field should be announced as required.
- Check there is a legend such as "* required" before the first field.
How to fix it
The pattern is the same everywhere: a visible text marker, a legend that explains it, and the required attribute. Keep colour as an extra if you like.
<p>Fields marked with <span aria-hidden="true">*</span> are required.</p>
<form>
<label for="email">Email <span aria-hidden="true">*</span><span class="sr-only">(required)</span></label>
<input type="email" id="email" name="email" required>
<label for="phone">Phone (optional)</label>
<input type="tel" id="phone" name="phone">
</form>.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}Use your form plugin's required setting
In the form builder, open each mandatory field and switch on Required. Most plugins (Contact Form 7, WPForms, Gravity Forms, Fluent Forms) add an asterisk and the required attribute. Check the output in the page source.
Add a legend and set the marker text
Add a short text line above the form such as "* required". In plugins with a required indicator setting, choose an asterisk or the word required rather than relying on label colour.
Edit the form markup in your theme
For contact and customer forms, open Online Store > Themes > Edit code and find the form section or snippet. Add the asterisk to the label and
requiredto the input. Where you use a third-party form app, use its required-field options.
Not a tag fix
GTM should not be used to patch form markup. Fix the form in the page, theme or form tool instead.
Set Required on each input
Select the field in the Designer, open Element Settings and tick Required. Edit the label text to add an asterisk, and add a text line explaining it above the form.
Mark fields required in the form builder
Open the form, select a field and turn on Required. Include the asterisk in the label text, and add a note such as "* required" in a text element at the top. Test the published form, as the exact output depends on the form type.
Use the Required toggle
In the Wix Editor, select the form, choose Settings and tick Required for each field. Wix adds an asterisk to the label; keep it visible and add a text line explaining it.
Turn on Required per field
Edit the form block, select a field and enable Required. Squarespace shows an asterisk by default. Add a short note above the form saying that asterisks mean required.
Add the attribute, the text cue and the legend
Use the HTML above. Put
requiredon each mandatory input, add a visible marker inside the label, and add the legend before the first field.
How to confirm it's fixed
View in greyscale
Emulate achromatopsia in DevTools and check that required fields are still clear.
Inspect the markup
Confirm each mandatory input has
requiredand the label has a visible text cue.Test with a screen reader
Tab through the form. Each mandatory field should be announced as required.
Submit an empty form
Check the error messages name the missing fields in text, not only red.
How to prevent it happening again
- Create one shared form component or template with the required pattern built in.
- Add "required cue is text, not only colour" to your design and QA checklist.
- Run an automated accessibility scan (such as axe or Lighthouse) on key forms after each release, and do a manual greyscale check.
- Re-test after switching form plugins, themes or page builders.
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. FunnelGuard runs your customer journeys on a schedule and checks that steps, tracking hits and test leads work; it does not audit how a form signals required fields. The kind of tool that fits is an accessibility testing tool: an automated scanner such as axe DevTools or Lighthouse, plus a manual check with a screen reader and a greyscale view.
Where FunnelGuard does help is the related risk: if a form change breaks submission, a scheduled journey check can show that the form no longer completes. Plans start with a Free tier (1 site, 2 journeys, daily checks, no card).
Questions people ask
Is marking required fields only with red a WCAG failure?
Yes, it generally fails WCAG 1.4.1 Use of Colour, because colour is the only way the requirement is shown. Add a text cue such as an asterisk or the word "required" so the information does not depend on seeing colour.
How do I mark required fields accessibly?
Add the HTML required attribute to each mandatory input, show a visible marker such as an asterisk in the label, and add a legend like "* required" above the form. You can keep a colour accent as an extra cue.
Is an asterisk enough to show a field is required?
An asterisk is fine if you explain it with a legend and the input has the required attribute. Screen readers may not read an asterisk reliably, so the attribute matters just as much as the visible symbol.
Should I use required or aria-required?
Use the native required attribute on real inputs; it is announced by assistive technology and triggers browser validation. Use aria-required="true" only for custom widgets that are not native form controls.
Why do screen readers not say a field is required?
The field probably relies on a colour or CSS class only, with no required or aria-required attribute. Add the attribute and a text cue in the label and the screen reader will announce it.
Is it better to mark optional fields instead of required ones?
Either works if you are consistent and explain it. If most fields are required, labelling the few optional ones with "(optional)" can be cleaner. Always keep the required attribute on mandatory inputs.
Can FunnelGuard detect required fields shown by colour only?
No. This is an accessibility design issue, so you need an accessibility scanner and manual testing. FunnelGuard checks that your funnel journeys, tracking and test leads work, not how fields are marked.
Related issues
- PRF-305Form inputs without labels (placeholder only)Fix guide
- PRF-306Placeholder text disappears so users forget field purposeFix guide
- PRF-307Form errors shown only in red with no textFix guide
- PRF-308Form errors not announced to screen readers (no aria-live)Fix guide
- PRF-309Errors not linked to fields (no aria-describedby)Fix guide
- PRF-313Form cannot be completed with keyboard onlyFix guide