What fresh hell is THIS now? - Patrick Lauke
[jitendra, a11y] Dennis said
A bit better but I still don’t advocate. If the label remains shown when focused, then why stray from the traditional design? This pattern also breaks basic rules/needs: 1. the placeholder attribute is used incorrectly, and there’s no way to support a label and correctly implemented placeholder (see this post’s content above for details) 2. May be confusing or distracting to users with a cognitive disability; 3. By default, browsers render placeholder text with insufficient color contrast by default in browsers so this must always be patched (which is hardly ever done). 4. When label appears at bottom, the text is too small.
placeholder