I am having trouble using apex:selectradio because of 508 compliance issues. The selectradio is creating html table tags with role="presentation" and the tool my client is using treats it as a layout table and not data table and fails to read the labels for the radio button.
The solution I have come up with is to use input type radio and pass the values to to controller, but I cannot fire submitSatisfactionComment method. Here is my code.
VisualForce Page:
<input type="radio" onclick="satisfactionComment" name="satisfaction" value="1"> {!$Label.One}
<apex:actionFunction name="satisfactionComment" action="{!ctrl.submitSatisfactionComment}" rerender="myPanel"/>
</input>
<input type="radio" onclick="satisfactionComment" name="satisfaction" value="2"> {!$Label.Two}
<apex:actionFunction name="satisfactionComment" action="{!ctrl.submitSatisfactionComment}" rerender="myPanel"/>
</input>
Apex Code:
public PageReference submitSatisfactionComment()
{
//do something here with the selected value of the radio button
return null;
}