Accessibility

Are placeholders the same as form labels?

No. A placeholder disappears the moment someone types, removing the label exactly when it is needed to check the answer. It usually fails contrast requirements too, and some assistive technology ignores it entirely. It is a hint, never a label.

Answered by Anas Bin Masud 179 words 3 sections

What a real label requires

  • A label element with a for attribute matching the input id
  • Visible text, positioned above or beside the field rather than inside it
  • Text that stays visible while the field is being filled and after
  • Clicking the label focuses the field, which also enlarges the target area

Why placeholder-only forms feel fine in testing

Because the person testing already knows what each field is for. The failure appears with a real user filling in an unfamiliar form, checking their answers before submitting, and finding four boxes with no indication of what any of them contain.

If a button reads "Send message", its accessible name must contain those words. An aria-label of "Submit" over visible text saying "Send message" breaks voice control — the user says what they see and nothing happens.

The longer version

This answer is deliberately short. If you want the full treatment, Website accessibility, without the compliance theatre covers it in about 5 minutes — free, ungated, written from client work.

Who answered this

Anas Bin Masud builds e-commerce sites and does technical SEO for businesses in the UK, Canada and Pakistan — fifteen live client sites, six of them stores taking real payments. These answers come from those projects rather than from a content brief. More about how I work, or ask me something directly.

People also ask

All 110 answers →

Still have a question this did not answer?

Send the brief and you get a reply within one business day — either questions, or a scoping call. If your project is not something I should take on, I will say so then.

Response
Replies within 1 business day
Hours
Mon–Fri, 09:00–18:00 PKT — overlaps 05:00–14:00 UK, 00:00–09:00 US Eastern
Booking
Booking projects from October 2026
WhatsApp — opens a chat with +92 346 5348466 in a new tab