I've noticed that my ChronoForms forms do not comply with section 508/WCAG because the labels aren't assigned to any inputs. I'm not really sure what the point of an unassigned label is.
In my code I've changed the elements.php files so that all of the lines like:
<label class="cf_label"{cf_labeloptions}>{cf_labeltext}</label>
now read:
<label class="cf_label" for="{cf_id}"{cf_labeloptions}>{cf_labeltext}</label>
I also added:
for="chrono_verification"
to the label appropriate label in there too.
This is a very quick fix that makes the forms validate and it'd be great if this could be incorporated into the next version so that I don't have to keep repeating the changes each time I upgrade.
Many thanks
MattLG
In my code I've changed the elements.php files so that all of the lines like:
<label class="cf_label"{cf_labeloptions}>{cf_labeltext}</label>
now read:
<label class="cf_label" for="{cf_id}"{cf_labeloptions}>{cf_labeltext}</label>
I also added:
for="chrono_verification"
to the label appropriate label in there too.
This is a very quick fix that makes the forms validate and it'd be great if this could be incorporated into the next version so that I don't have to keep repeating the changes each time I upgrade.
Many thanks
MattLG
Hi Matt,
Thank you for pointing to the issue and posting your fix, this will be fixed in the next versions!
Regards,
Max
Thank you for pointing to the issue and posting your fix, this will be fixed in the next versions!
Regards,
Max
This topic is locked and no more replies can be posted.