DEV Community

Discussion on: How to create Google's Material Design Text Input Field using CSS and JavaScript?

Collapse
 
tbroyer profile image
Thomas Broyer

Please make .placeholder-text or .text a <label> (and properly associate it with the input of course; also put it before the input if possible). There's no reason to compromise on accessibility.

Collapse
 
murtuzaalisurti profile image
Murtuzaali Surti

Now it's improved! Thanks for letting me know!