Label Question

User 2906089 Photo


Registered User
79 posts
Online Now

Hello All,

When creating labels for form input elements I use <label for="someID" > Your Name: </label>
<input type="text" name="someID" id="someID"> . In other words, the label is paired to the input item using the value of the id of the input item using the for attribute.

I'm seeing that this format is missing in WFB which is understandable due to it's age, but missing in FD makes me wonder why is this standard not being used? I would think this is a web accessibility issue these days. Certainly on phones, tablets and other touch input devices.

Is this a bug, missing feature or nothing to be concerned about in today's world? Hopefully I'm missing the place to add the "for" attribute in FD or WFB.

Any help is appreciated in advance.

User 2906089 Photo


Registered User
79 posts
Online Now

Just answered my own question. The for attribute is not required if the input item is nested inside the label element.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.