Controls, forms and feedback

Can the browser help fill in the form?

A field can tell a browser that it expects a name, email or address. This helps people fill in the right details.

Source review

Blue jacket, View, Which item?. Blue jacket, View blue jacket, Choice is clear.
Which product did the buyer choose?

What to do

Use suitable autocomplete values for standard identity, address and authentication fields. Review each field rather than requiring autocomplete on every input.

Practical example

An email sign-in field can declare autocomplete="username" when it identifies the account.

Implementation example

<label for="email">Account email</label>
<input id="email" name="email" type="email" autocomplete="username" required>

Adapting the example

Choose tokens according to the actual field purpose. A new email subscription field and an account identifier may need different values.

How to verify the result

Try autofill with synthetic data and confirm the intended values land in the correct fields without changing the submission meaning.

What this check cannot prove

Static labels do not demonstrate keyboard operation, visual focus, announced validation or successful form submission.

Where this advice comes from

The linked primary guidance informs these steps. Anonymous Analysts defines the test interpretation and its acceptance criteria.

Sources and standards