Hi all!

Doesn't the rendering of radiobuttons / labels work correctly?

Usually, you have to use the label element using the following approach
described in the SelfHTML 8.1 documentation:

<label for="idName">Label:</label>
<[Formelement] id="idName">

But JSF renders something like this (it doesn't matter if I use the standard
JSF HTML RenderKit taglib or Tomahawk):
<label><input type="radio" name="_id0:_id2" value="someValue" lang="de"
title="someTitle" class="daten" />&#160;someDescription</label>

With this approach, you can't click on the label to select/deselect the
radiobutton, so the label just makes no sense.
Using the label to select/deselect the radiobutton would improve the
usability of the control.

Is this a bug?



Regards,
Matthias




Reply via email to