← All WCAG & EAA Fix Guides

critical EN 301 549 § 9.1.3.1

label: Form inputs must have programmatically associated labels

Every <input>, <select>, and <textarea> needs an explicit <label for="id">. Placeholders disappear when typing and do not satisfy WCAG.

Why this matters for EAA & ADA compliance

Unlabeled newsletter, search, variant-selector, and checkout inputs block voice-control and screen-reader users from entering shipping or payment details.

Mapped standards: 1.3.1 Info and Relationships (Level A), 3.3.2 Labels or Instructions (Level A) • EN 301 549 § 9.1.3.1

Standard HTML Fix

Before (fails label):
<input type="email" name="email" placeholder="Enter your email">
After (accessible source markup):
<label for="newsletter-email">Email address</label>
<input id="newsletter-email" type="email" name="email" autocomplete="email" required>

Shopify Liquid Fix

Before:
<input type="search" name="q" placeholder="Search store...">
After:
<label for="store-search" class="visually-hidden">Search products</label>
<input id="store-search" type="search" name="q" placeholder="Search products">

React / Next.js Fix

Before:
<input type="text" placeholder="Discount code" />
After:
<label htmlFor="promo">Discount code</label>
<input id="promo" name="promo" type="text" />

Check your live site for label right now

Public HTTPS URL (e.g. https://yourstore.com). Runs headless Chromium + axe-core + overlay detection.
Error: Enter a valid public website URL starting with https://