Start with a label element instead of data-label attribute
Closed this issue · 3 comments
zachleat commented
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.
derpoho commented
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!