I have a Treeview with Checkboxes enabled, here is aspx-Code:
<telerik:RadTreeView ID="trVars" runat="server" CheckBoxes="True" OnClientNodeChecked="onNodeChecked" OnNodeDataBound="trVars_NodeDataBound" OnNodeClick="trVars_NodeClick" />
Nodes are addes in server-side Code behind:
trVars.DataFieldID = "ID";
trVars.DataFieldParentID = "ParentID";
trVars.DataTextField = "varLabel";
trVars.DataValueField = "varName";
trVars.DataSource = tbl;
trVars.DataBind();
For my application I need full compliance with the WCAG 2.0 AA standard. But the check did not pass because the checkboxes in the nodes need a label associated (Error Message in AC Checker: input element, type of "checkbox", has no text in label ...).
Please help!