The accessibility of the radio buttons could be improved by wrapping their labels in an appropriate LABEL element. Unfortunately this would leave the rest of the form without labels, but it would be a small step forward.
The accessibility of the radio buttons could be improved by wrapping their labels in an appropriate LABEL element. Unfortunately this would leave the rest of the form without labels, but it would be a small step forward.
Generated code would then look like:
The main problem is that people might expect a macro called {label-data} to be related to page labels, rather than HTML labels. Especially since we have a {label-options} macro now, which is definitely related to page labels...
David Peterson added a comment - 07/Mar/08 10:58 PM Yeah, not a bad idea. Hypothetically a new macro (e.g. {label-data}) could be added to generate a label for any other field you like also. E.g:
The main problem is that people might expect a macro called {label-data} to be related to page labels, rather than HTML labels. Especially since we have a {label-options} macro now, which is definitely related to page labels...
I've added the <label> output for checkbox/radio buttons. I've created a new feature request for the {label-for} macro (SCAFF-245) - you might want to watch it...
David Peterson added a comment - 29/Aug/08 05:23 AM I've added the <label> output for checkbox/radio buttons. I've created a new feature request for the {label-for} macro (SCAFF-245) - you might want to watch it...
{label-data:Text}*Text Field:*{label-data} {text-data:Text}The main problem is that people might expect a macro called {label-data} to be related to page labels, rather than HTML labels. Especially since we have a {label-options} macro now, which is definitely related to page labels...