Hacker News new | past | comments | ask | show | jobs | submit login

Under the "Contrast Fail" is my single largest pet-peeve of form design. Once you click over that form, the text goes away and you may not know where you are.

Please use labels, people. I have no idea why he didn't include that in this article.




This. Unless your form is incredibly simple (e.g. signup or login) you shouldn't just rely on placeholder text.

Apple has a nice solution to this issue on their checkout pages - labels placed on top of inputs, only disappearing once text is entered.


I still think inline labels are a bad idea, regardless of placeholder behavior. To quote myself: https://news.ycombinator.com/item?id=4642146


The placeholder attribute in recent versions of Chrome behaves the same way—possibly longer, but I only started noticing it recently—the placeholder remains in the field until you've typed a character.


Also if you filled it out and accidentaly moved back or forward in browser navigation, then go back to it and your browser fills it, the Javascript often removes your text.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: