Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Placeholders supplementary, warn against polyfill #215

merged 3 commits into from

3 participants


Per discussion included in #158


Looks great! Can you remove the polyfillurls meta value from the file? Given we are suggesting people do not use the polyfills.

Also I think we should strongly recommend use, given this is supplementary, so their presence or absence shouldn't have an impact?


Do you mean recommend use or not use? I'm getting mixed signals here.


I mean recommend use :/ I mean if they are supplementary there is no harm 'using' them no? Our usage of the word 'use' is merely an indication that there is no threat to breaking across all browsers that do not implement this feature when used.


@zachleat if you get a chance could you look at @nimbupani's feedback above and adjust accordingly?





@addyosmani addyosmani merged commit bbbae7f into h5bp:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 15, 2012
  1. @zachleat
  2. @zachleat
Commits on Jan 2, 2013
  1. @zachleat
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +4 −1 posts/
5 posts/
@@ -6,4 +6,7 @@ polyfillurls:[Placeholder jQuery Plugin](
Input placeholders are simply ignored in IE 9 and below. Note that they are only applied when the **type** of the input is *text*, *password*, *search*, *tel*, *url*, or *email*. *Textareas* can have placeholders, too. Otherwise, it is ignored.
-`input[placeholder]` is commonly the first polyfill anyone writes and, as such, there are [many of them]( Password inputs and submit event clearing are among many of the gotchas that catch naive implementations; Mathias's polyfill below handles these cases very well.
+Per the [HTML specification](
+> The placeholder attribute represents a short hint (a word or short phrase) intended to aid the user with data entry. A hint could be a sample value or a brief description of the expected format. The placeholder attribute should not be used as an alternative to a label.
+A properly implemented form should have labels and any placeholders should be supplementary. As such, they are not required for successful completion of a form and use of a polyfill is often unwarranted.
Something went wrong with that request. Please try again.