Skip to content
DeployAI
WarningCode a11y_input_label

Form fields without a label

What it means

A form has fields with no label that says what to fill in.

Why it is only a warning

This is only a warning. A screen reader says only "edit text", and the visitor does not know what to write. Example text inside the field is not enough, because it disappears once you type.

How to fix it

  1. Add a visible label to every field, connected to it.
  2. Run the check again.

Prompt for your agent

Copy it and paste it into your agent. It fixes the project, explains each step, and runs the check again.

The DeployAI accessibility check found this on the site: Form fields without a label.
Give every input, select and textarea a visible <label for="field-id"> that matches the field id, or wrap the field in its <label>. Use aria-label only when a visible label is not possible. A placeholder is not a label.
Explain your plan and wait for my approval before architectural changes. Do not remove features without asking.
Explain every step to me in simple words.
When done and the updated site is live, tell me to run the accessibility check again at https://deployai.co.il/en/tools/accessibility