function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Visualforce markup breaks ability to select radio buttons by clicking label in IE6

Consider the simple Visualforce markup below.


In IE6 clicking the label does not select the radio button.


If you include the same markup in a standard HTML page (e.g. replace apex:page with html and apex:form with body) the radio buttons are selected when clicking the associated label (as expected).



apex:page >
    <apex:form >
            <legend>Type of radiation:</legend>
            <div><label for="radio1"><input type="radio" name="rad" value="1" id="radio1"/>alpha</label></div>
            <div><label for="radio2"><input type="radio" name="rad" value="2" id="radio2" checked="true" />beta</label></div>
            <div><label for="radio3"><input type="radio" name="rad" value="3" id="radio3"/>gamma</label></div>