Checklist Guide

Marking Required Fields With More Than Red on a Contact Form

Short answer

Do not let red be the only sign that a field is required. Add a word or symbol in the label, explain the symbol once above the form, and mark the field in the page code too, so patients who cannot tell red from grey, or who use a screen reader, still know what to fill in.

By Gio LaRocheUpdated 5 min read
Get my free auditor call (561) 291-2681

The red asterisk problem

A common contact form shows a small red star beside the name and phone fields and nothing else. A visitor who sees colors differently, or who is using a phone in bright sun, may see two grey marks and no difference between a required field and an optional one. They send the form, get an error, and some of them give up.

On a counseling or primary care page that is a lost first contact. The person who reaches your form is often already hesitant to call, so a form that scolds them for something they could not see is a poor start.

What the W3C says about color

The Use of Color criterion, which we read in full before writing this, says color must not be the only visual way to convey information, indicate an action or prompt a response. Its own examples include a form where required fields are shown in red, and highlighting a field to show it was left blank. The goal it states is simple: not everyone sees colors, or sees them the same way.

The same page adds two useful details. A pair of colors that also differ clearly in lightness, with a contrast ratio of at least 3 to 1, counts as an added visual cue. But if a field relies on a person telling one particular color from another, such as a green outline for valid and a red outline for invalid, a second indicator is needed regardless of the ratio.

How the field is markedEnough on its own?
Red label text onlyNo, the only cue is color
Red asterisk, and the form never says what the asterisk meansNo, a symbol with no explanation is easy to misread
The word Required in the label, any colorYes
Asterisk plus a line above the form saying asterisk means requiredYes
Optional fields labeled Optional, required fields left plainYes, if the form says so near the top

Four ways to do it, from simplest

  1. 1Write the word in the label: Phone number (required). It is the clearest option for a short form.
  2. 2Use an asterisk and say so once: place a line such as All fields marked with an asterisk are required directly above the first field.
  3. 3Mark optional fields instead, when most of the form is required, with the word Optional.
  4. 4Ask your developer to mark required fields in the code as well as on screen, so assistive technology announces them.

The W3C's Info and Relationships page gives almost the same example: a text note such as all required fields are marked with an asterisk, placed near the information it describes. It also says that where the technology supports it, relationships should be marked in the code and not only described in words.

What a short practice form needs

Most practice forms should ask for very little. Name and phone are enough for a callback, as our guide to first-time client contact forms explains. Fewer required fields means fewer places for a patient to trip, and no color rule to worry about on the fields you removed.

A five-minute test

  1. 1Open your contact form and take a screenshot.
  2. 2Turn the screenshot to black and white, which most phone photo editors can do.
  3. 3Look at it for ten seconds and write down which fields are required.
  4. 4Compare with what you meant. Any mismatch means color is carrying the message.
  5. 5Repeat with a screen reader, following our screen reader test, and listen for the word required.

Once the marking works, check what happens after a mistake: our guide to form error messages covers wording that says what went wrong. We do not give legal advice, and marking fields clearly does not by itself make a site conform to any standard.

Frequently asked questions

Is a red asterisk ever acceptable?

Yes, when it is paired with something else. An asterisk that is explained in a line above the form passes the idea behind the W3C criterion, because the meaning is in text. Red can stay as decoration. The problem is only when red is the sole way a person can tell.

Should I use the word Required or Optional?

Pick whichever label applies to fewer fields. If a form has two required fields and three optional ones, mark the two. Whichever you choose, say it once near the top of the form so a visitor does not have to guess the rule.

Does the placeholder text inside the box count as marking?

No. Placeholder text vanishes when someone starts typing and is often pale grey. Put the word in the visible label above the box, where it stays on screen for the whole time the person fills in the field.

Does this also apply to the error state?

Yes. A field that turns red after a mistake needs words beside it saying what to fix, not only a red border. The W3C uses a highlighted field for a blank required entry as one of its examples of color used alone.

Who should make the change on my site?

Your web designer or the form plugin settings can do it in a few minutes. Send them one sentence: required fields must be marked with text or a symbol that the form explains, and also in the page code. Then retest with the black and white screenshot.

Sources

Keep reading

Ready to Grow Your Practice?

Primara is now accepting new independent practices nationwide. Most new engagements begin within one week.

Send Us a Message

We respond within one business day.

* Required field

We'll call to confirm your consultation.

No spam, ever. HIPAA-aware agency. We respond within one business day. For urgent inquiries, call (561) 291-2681.

Founder-LedHIPAA-AwareServing Practices Nationwide