probots-io/floatlabels.js

Start with a label element instead of data-label attribute

Closed this issue · 3 comments

It’s better for accessibility and progressive enhancement if you start with a label element instead of dynamically creating one from a data-label with JS.

Whoa, nice work @joahg!

Thanks @zachleat :)

Will update the script. But not with this PR because i want to keep both options. either label or data-label.

Thx for your suggestion!