Interesting article about the placeholder attribute

For general web development questions that are not specifically related to CSS HTML Validator. This includes (but is not limited to) general HTML, CSS, Accessibility, JavaScript, and SEO questions.
Post Reply
User avatar
Albert Wiersch
Site Admin
Posts: 3783
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Interesting article about the placeholder attribute

Post by Albert Wiersch »

Here's an older article but it still sheds light on using input field placeholder text (and the "placeholder" attribute). It basically says that there are a lot of potential usability and accessibility problems with placeholder text, and that it should never be used a replacement for a proper field label.

https://www.nngroup.com/articles/form-d ... ceholders/

Image

I updated CSE HTML Validator with an additional message when the "placeholder" attribute is used, warning of the misuse of it and the potential problems.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Post Reply