This is a migrated thread and some comments may be shown as answers.

RadComobox is not 508 compliant

1 Answer 58 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Chi Ming
Top achievements
Rank 1
Chi Ming asked on 09 Jul 2014, 02:56 PM
Hi, 

I tested it in IE browser using Web Accessibility toolbar from paciello group. I did set radcombox ID to AssociatedControlID of the ASP.NET label control. They resulted there are two labels that are not associated to the radcomobox controls.  These radcomobox controls just added input to the ID. Therefore they were not associated to the label controls

<div class="col-md-6 form_row">
                       <div>
                           <asp:Label ID="lblRequestTypeSelect" runat="server" Text="Request Type" AssociatedControlID="rcRequestType" CssClass="control-label col-md-3">Request Type<span class="required">*</span></asp:Label>
                           <div class="col-md-9">
                               <telerik:RadComboBox ID="rcRequestType" runat="server" AutoPostBack="true" ToolTip="Request Type *" EnableAriaSupport="true"  Skin="Simple" OnSelectedIndexChanged="rcRequestType_SelectedIndexChanged" TabIndex="0">
                                   <Items>
                                       <telerik:RadComboBoxItem Text="Select" Value="Select" Selected="true" />
                                       <telerik:RadComboBoxItem Text="Congressional" Value="Congressional" />
                                       <telerik:RadComboBoxItem Text="Federal Requester" Value="Federal Requester" />
                                       <telerik:RadComboBoxItem Text="Local Government" Value="Local Government" />
                                       <telerik:RadComboBoxItem Text="Other Organization" Value="Other Organization" />
                                       <telerik:RadComboBoxItem Text="Private Citizen" Value="Private Citizen" />
                                       <telerik:RadComboBoxItem Text="State Requester" Value="State Requester" />
                                       <telerik:RadComboBoxItem Text="Universities / Schools" Value="Universities / Schools" />
                                       <telerik:RadComboBoxItem Text="Veterans Organization" Value="Veterans Organization" />
                                       <telerik:RadComboBoxItem Text="Vocational" Value="Vocational" />
                                   </Items>
                               </telerik:RadComboBox>
                               <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="rcRequestType" runat="server" InitialValue="Select" ForeColor="Red" ErrorMessage="Request Type is Required" ValidationGroup="cs1"></asp:RequiredFieldValidator>
 
                           </div>
                       </div>
                   </div>
                   <div class="col-md-6 form_row">
 
                       <div>
                           <asp:Label ID="lblradSelectOrg" runat="server" Text="Organization" AssociatedControlID="rcOrg" CssClass="control-label col-md-3">Organization<span class="required">*</span></asp:Label>
                           <div class="col-md-9">
                               <telerik:RadComboBox ID="rcOrg" runat="server" AutoPostBack="true" EnableAriaSupport="true" OnSelectedIndexChanged="rcOrg_SelectedIndexChanged" Enabled="false" ToolTip="Organization *" DropDownAutoWidth="Enabled" Skin="Simple"></telerik:RadComboBox>
 
                               <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="rcOrg" runat="server" InitialValue="Select" ForeColor="Red" ErrorMessage="Organization is Required" ValidationGroup="cs1"></asp:RequiredFieldValidator>
                           </div>
                       </div>
                   </div>

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 10 Jul 2014, 03:15 PM
Hi,

In order to associate a Label with the input element of the RadComboBox, please use the Label property of the control instead of a separate label control.

Regards,
Dimitar Terziev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ComboBox
Asked by
Chi Ming
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or