I'm a self-taught Front End & JS Dev and professional learner with accessibility expertise. I'm passionate about breaking down concepts into relatable concepts, making it more approachable.
I'm a self-taught Front End & JS Dev and professional learner with accessibility expertise. I'm passionate about breaking down concepts into relatable concepts, making it more approachable.
I'm a self-taught Front End & JS Dev and professional learner with accessibility expertise. I'm passionate about breaking down concepts into relatable concepts, making it more approachable.
One reason to do it this way is that explicit labels (input+label combo) have better support with assistive tech. Implicit labels (label wrapping an input) don't work with Dragon Naturally Speaking.
Is there a reason you went for wrapping each input-label combo in a div rather than using the label element?
Rather than
Or is it a simple case of either will do but you went with the div? 🙂
Because I wanted to.
Cool, thanks 🙂
Was just checking there wasn't some reason I wasn't aware of 🙂
haha It's how I prefer to write my inputs.
I would take a look at the responses to this. I prefer explicit association but others put their reasons in.
One reason to do it this way is that explicit labels (input+label combo) have better support with assistive tech. Implicit labels (label wrapping an input) don't work with Dragon Naturally Speaking.
a11ysupport.io/tech/html/label_ele...