Last modified: 2014-02-12 23:38:17 UTC
http://www.w3schools.com/tags/tag_label.asp Input types checkbox, checkboxes, radiobutton should use the HTML <label> tag around labels for those input types. That will improve the "clickability" of those form inputs by reducing the accuracy required to achieve the click. This is particularly important for users using a finger touchscreen input device like an iPad, iPhone, and most tablet PC devices. It will also improve accessibility for impaired users who have difficulty making accurate clicks. Most importantly, it will allow much quicker editing of form pages by unimpaired users, especially in mass-edit circumstances that cannot be automated.
+1, this could also make it easier for people creating and maintaining forms, as less work is needed to make them look good. Maybe something like {{{field|city|label=City}}}, giving <label for="input_1">City</label><input id="input_1" ...
It would be great to use <label> - the problem is that that sort of direct substitution can't work with all template layouts, like the default table one, since that layout puts the label and the input into two separate table cells. I think the only way this can really be supported is if/when forms can be generated on the fly from just a Page Schemas XML schema. (That, on its own, would also make forms easier to create and maintain, by the way.)