SiteTidy
Home /Tools /Form Label Checker

Form Label Checker

Scan HTML form snippets to verify that every interactive control is properly labeled for screen readers and accessibility.

HTML Source

Form Label Checker

Instantly scan HTML for missing or invalid form labels.

0
Accessible Controls
0
Missing Labels

Awaiting Code

Paste some HTML to automatically scan it for missing form labels.

Why Form Labels Matter

When a screen reader encounters a form control (like a text input or a dropdown), it needs to announce what that control is for. Visually, a label sitting next to an input is obvious. To a screen reader, that visual connection doesn't exist. You must create a programmatic relationship.

Methods for Labeling Forms

1. Explicit Labels (Recommended)

Give the input an id and point the label to it using the for attribute. Clicking the label will focus the input.

<label for="email">Email Address</label>
<input type="email" id="email">

2. Implicit Labels

Wrap the input completely inside the <label> tag. This creates an automatic association without needing IDs.

<label>
  First Name
  <input type="text" name="firstName">
</label>

3. ARIA Labels

If a visual label breaks the design (e.g. a magnifying glass icon for a search bar), use aria-label to provide a hidden label specifically for screen readers.

<input type="search" aria-label="Search the website">

Related Guides

Deepen your understanding with our expert articles.