Accessible inline form labels
Update: Added the check to make sure the input is empty before showing the overlayed label the first time.
Update: Added the check to make sure the input is empty before showing the overlayed label the first time.
Anyone who has styled forms understands the frustration that is the input/textarea (or whatever your weapon of choice for masochism). They can be frustrating to make behave consistently. I found a technique I used today that I thought I would share. I seriously doubt I'm the first to use it but none-the-less maybe someone hasn't seen this before.
Like many others, I've been called by the siren song of Mastodon and have created an account (@craveytrain@hachyderm.io) in the fediverse to check it out. One of the things that interests me is the ability to self-verify the links I reference, as a way to say I am who I say I am (as much as anyone can do on the internet).
See all tags.