ginader/HTML5-placeholder-polyfill — Issue #2: label should not be required
Author: iamnoah
Created: 2012-02-15 22:40:46+00:00
State: open

While I understand the desire to ensure screen readers are taken care of, it isn't really the job of a polyfill to enforce best practices. There exist valid use cases for an input without a label, and requiring a label keeps this from being a completely usable polyfill.

If the label is not present, the placeholder can be appended to the input's parent.