Please enhance WebGUI::Form::Control and subclasses such as: WebGUI::Form::CheckboxWebGUI::Form::SelectBoxWebGUI::Form::YesNoWebGUI::Form::Text
to add accessibiltity features. That is, we'd like the ability to add parameters to calls to these and related classes so that we can easily produce "Accessible Form Controls" as described athttp://www.webaim.org/techniques/forms/screen_reader.php#labels
As an example, WebGUI generates the following (http://demo.plainblack.com/demo1211322738_678/home): <td class="formDescription" valign="top">Computer Type</td><td class="tableData" valign="top"><input type="radio" name="computer_type" value="Mac" />Mac<br /><input type="radio" name="computer_type" value="PC" />PC<br /><input type="radio" name="computer_type" value="Linux" />Linux<br /><span class="formSubtext"><br /></span></td>to be accessible, it should generate something more like <td><fieldset><legend>Computer Type</legend> <br /><input id="mac" type="radio" name="radiobutton3" value="radiobutton"><label for="mac">Mac </label><br /><input id="pc" type="radio" name="radiobutton3" value="radiobutton"><label for="pc">PC</label><br /><input id="linux" type="radio" name="radiobutton3" value="radiobutton"><label for="linux">Linux</label><br /></fieldset></td>which includes the fieldset tag around the radio buttons, a single legend for the fieldset, and an id attribute in the input tag this is different for each value.
Susan B
I'm working on this, but a certain amount of this won't be able to be done until 8.0.
I've added fieldsets around YesNo, CheckList, and RadioList, and attached the labels better for Radio and YesNo controls.
Adding the legend would involve making larger changes to the Forms system and TabForm. That won't be possible until 8.0, and will come with a lot of other changes to forms. Leaving this open for that work.