NeovaGelişmiş SEO Platformu

Form alanının label'ı yok

Neova'da Taramanın kendisiyle çalışır: kurulacak bir şey yok.

Kural son kez 17 Ekim 2026'da incelendi · Rehber 7 Temmuz 2026'da güncellendi

WCAG 4.1.2, her form alanının bir ad sunmasını gerektirir. Ad olmadan ekran okuyucu kullananlar alanın ne işe yaradığını bilemez.

Neler yapabilirsiniz

Alana for ve id ile bağlı bir label öğesi ekleyin ya da alana bir aria-label verin.

Neova bunu neden işaretliyor

  • Etiketi olmayan bir alan yalnızca türüyle okunur; ekran okuyucu kullananlar ne yazacaklarını bilemez.
  • WCAG 4.1.2 (Düzey A), her form alanının yardımcı teknolojiye bir ad sunmasını ister.
  • Alana bağlı bir etiket tıklama alanını da büyütür; bu herkese yardımcı olur ve yapay zeka ajanlarının formu doğru doldurmasını sağlar.

Kaynaklar

Tam rehber

Bu bölüm şimdilik İngilizce.

Your audit found form fields that have no programmatic label, a screen reader lands on them and announces "edit text, blank" with no idea what to type. This is the axe-core label rule, tied to WCAG 1.3.1 (Info and Relationships) and 4.1.2 (Name, Role, Value). An unlabeled field is one a whole class of users literally cannot fill in, and every abandoned form is lost conversions and lost signups.

What Counts as a Labeled Input

An input's accessible name has to come from something a browser and screen reader both understand: a <label> whose for attribute matches the input's id, a wrapping <label>, an aria-label, or an aria-labelledby pointing at visible text. A greyed-out placeholder is not a label, it vanishes the moment someone types, and most screen readers don't treat it as a name. That's the single most common way this check gets tripped.

A Real Failing Example and the Fix

<!-- FAILS: placeholder is not a label -->
<input type="email" placeholder="Email address">

<!-- FAILS: label exists but for/id don't match -->
<label for="mail">Email</label>
<input type="email" id="email-field">

<!-- FAILS: search box with only an icon -->
<input type="search">
<!-- FIXED: explicit label, matching for/id -->
<label for="email">Email address</label>
<input type="email" id="email">

<!-- FIXED: wrapping label needs no id -->
<label>Email address
  <input type="email">
</label>

<!-- FIXED: no visible label by design? use aria-label -->
<input type="search" aria-label="Search the site">

A visible <label> is best, it gives everyone a bigger click target and a persistent prompt. Reserve aria-label for cases where the design genuinely has no room for visible text, like a search box next to a magnifier icon.

How Each Naming Method Holds Up

Method Gives an Accessible Name? Visible to Sighted Users? Verdict
<label for> + matching id Yes Yes Best, use by default
Wrapping <label> Yes Yes Great, no id juggling
aria-label Yes No OK for icon-only fields
aria-labelledby Yes Yes (points at real text) Good for shared prompts
placeholder only No Until you type FAILS the check
title only Weakly On hover only Not reliable, avoid

Why It Matters for Accessibility and SEO

For a screen-reader user, an unlabeled field is a guessing game, is this the phone number, the ZIP, the coupon code? They can't tell, so they bail. That's a direct accessibility failure and a direct hit to your form completion rate. Labels also enlarge the tappable area, which helps every mobile user, not just those using assistive tech.

The SEO angle is indirect but real: forms are conversion surfaces, and Google's page-experience thinking rewards usable, low-friction pages. Broken forms drive the kind of bounces and pogosticking that quietly erode rankings. A crawler also parses your form structure more cleanly when labels are wired correctly.

There's a maintenance payoff too. Once every field has a properly associated <label>, your form becomes easier to test automatically, end-to-end tools like Cypress and Playwright can target fields by their accessible name instead of brittle CSS selectors. Accessible markup and testable markup turn out to be the same markup, so the label you add for a screen-reader user also hardens your QA. That's a rare case where doing the right thing for accessibility pays you back in engineering time.

How to Detect It on Your Own Site

  1. axe DevTools, run a scan and filter for the label rule; it lists every input missing a name and shows the node.
  2. Lighthouse, the Accessibility audit "Form elements do not have associated labels" enumerates the failing fields.
  3. WAVE, flags "Missing form label" with a red marker directly over the field.
  4. Click test, click the visible label text. If the cursor doesn't jump into the field, the for/id link is broken.
  5. Accessibility panel, Inspect the input in DevTools and read the computed "Name". Blank means it's flagged.

How to Fix It

  1. Find the flagged input in your form template.
  2. Give the input a unique id and add a <label for="that-id"> with a short, clear prompt, or wrap the input in the label entirely.
  3. If a placeholder was doing double duty, keep it as a format hint ("name@example.com") but add a real label above it.
  4. For icon-only fields, use aria-label instead.
  5. Make sure every id on the page is unique, duplicate ids break the association silently.
  6. Re-scan with axe to confirm zero remaining label violations.

FAQ

Isn't a Placeholder Good Enough as a Label?

No. Placeholders disappear on input, wash out at low contrast, and aren't reliably announced as names. Use a real <label> and treat the placeholder as an optional format hint only.

Do Hidden Inputs Need Labels?

No. type="hidden" fields aren't focusable or perceivable, so axe skips them. The rule targets fields a user actually interacts with.

Can One Label Serve Two Inputs?

A single for attribute points at one id. For a field split across boxes (like a phone number), use aria-labelledby or a <fieldset> with a <legend> to group them under one prompt.

My Label Is There but the Field Still Fails, Why?

Almost always a mismatch: the label's for doesn't match the input's id, or the id is duplicated elsewhere on the page. Fix the pairing and dedupe the ids.

Does aria-label Override a Visible Label?

Yes, aria-label wins in the name computation, so if you set both with different text you'll confuse users. Pick one source of truth per field.

This is the input-field cousin of links must have discernible text and buttons must have discernible text, same principle, different control. See also form inputs need visible labels, duplicate labels, and unique ids in ARIA and labels.

Bunu Kendi Sitenizde Bulun

Neova bu kontrolü ve diğer tüm kontrolleri her taramada çalıştırır, ardından düzeltmeyi ekibiniz için bir ticket olarak yazar.

  • Mac, Windows ve Linux için masaüstü uygulaması
  • Her biri kaynağıyla birlikte 696 kontrolün tamamı
  • Search Console ve Analytics 4, salt okunur bağlı
  • Jira, Linear ve Asana'ya ticket'lar

Neova'yı indirin Desktop Free planı ya da 14 gün ücretsiz Solo, kart gerekmez.

Erişilebilirlik kategorisindeki tüm kontroller · Rehberler · Kontrol kütüphanesi

Yazan: Neova Labs · Kontrol kütüphanesine dön