<label> on checkboxes and radio buttons should be rendered even when
accessibility-mode == inaccessible
-------------------------------------------------------------------------------------------------------
Key: TRINIDAD-1131
URL: https://issues.apache.org/jira/browse/TRINIDAD-1131
Project: MyFaces Trinidad
Issue Type: Improvement
Reporter: Stephen Friedrich
Priority: Minor
With this setting in trinidad-config.xml
<!-- Improve a4j compatibility -->
<accessibility-mode>inaccessible</accessibility-mode>
radio buttons and checkboxes never render a <label> tag around their label.
However in this case the label is not "just" for accessibility:
The label is needed so that the use can click on the label to toggle the state.
The check in this method should be overriden by the corresponding renderers:
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.OutputLabelRenderer.isLabelTagNeeded()
(I originally copied that setting from the Seam seamdiscs example that shows
integration with Trinidad.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.