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
<input type="email" name="email" placeholder="Enter your email">
<label for="newsletter-email">Email address</label>
<input id="newsletter-email" type="email" name="email" autocomplete="email" required>
Shopify Liquid Fix
<input type="search" name="q" placeholder="Search store...">
<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
<input type="text" placeholder="Discount code" />
<label htmlFor="promo">Discount code</label>
<input id="promo" name="promo" type="text" />