Don't Use The Placeholder Attribute - Smashing Magazine - 4 views
-
To recap, the placeholder attribute: Can’t be automatically translated; Is oftentimes used in place of a label, locking out assistive technology; Can hide important information when content is entered; Can be too light-colored to be legible; Has limited styling options; May look like pre-filled information and be skipped over.
-
Move the placeholder content above the input, but below the label:
-
Development Here’s how to translate our designed example to code:
- ...4 more annotations...