WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Required Fields and Username / Password on a Website

for

From: Jared Smith
Date: Jul 25, 2012 9:06AM


On Wed, Jul 25, 2012 at 8:46 AM, Elle wrote:

> However, what I'd like to see is where in WCAG I can justify not
> indicating that Username and Password are required.

Success Criterion 3.3.2 (Level A) states, "Labels or instructions are
provided when content requires user input." Note the word "or". It's a
bit ambiguous on this topic, but if it's apparent from the
presentation of a simple form that all controls in the form are
required (such as a single search field or username/password for a log
in form), I'd think that all necessary
instructions are provided via the labels alone. The only additional
requirement seems to be that if the user submits the form without the
required fields that there be a descriptive error AFTER submission
which indicates the required field(s).

Jared