Member-only story

Accessible form validation from scratch — preparing for validation

Part 3: Help text, instructions, required fields, and validation containers

Daniel Berryhill
UX Collective
9 min readJul 2, 2024

Stacked shipping containers.
Photo by Barrett Ward on Unsplash

In this article, I’ll go over how I’ll mark required fields, add help text, implement input groups, and add the markup for inline and summary validation.

In the next article, I’ll add styling.

Introduction

Here are the links to the articles in the series (so far):

But the markup needs a little more before we get into styling and JavaScript. Here are the topics for this article:

Marking required fields

How should we mark required fields? First, I hope we can all agree that the user must have some indication that fields are required — and that it should…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Responses (3)

Write a response