Accessibility Management Platform (AMP) reports that the Telerik Web Forms ComboBox has an attribute mismatch
This element has a mismatch between the value of its readonly and aria-readonly attributes
The following structure replicates the error
<telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="Empty Message" EnableAriaSupport="true">
<Items>
<telerik:RadComboBoxItem Text="Item 1" />
<telerik:RadComboBoxItem Text="Item 2" />
<telerik:RadComboBoxItem Text="Item 3" />
<telerik:RadComboBoxItem Text="Item 4" />
</Items>
</telerik:RadComboBox>
Hi Ken,
Thank you for reporting the problem. I think we will be able to fix this issue and ship it with the next release. Until then, you may use the workaround below.
Add the following script on the page where the Combo is located. Must be placed after the ScriptManager declaration.
<script>
Sys.Application.add_load(function () {
var combo = $find("<%= RadComboBox1.ClientID %>");
$(combo.get_inputDomElement()).attr('aria-readonly', combo.get_readOnly());
});
</script>
Regards,
Attila Antal
Progress Telerik
Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!