New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

WAI-ARIA Support

Please, select your gender:

The RadioButtonList control has WAI-ARIA support which can be easily enabled by setting its EnableAriaSupport property to true.

The WAI-ARIA attributes are rendered with JavaScript because no HTML document can validate if they are present in the server markup. Therefore, in order to see them, you should inspect the control with the browser dev toolbar and not the page source.

  • DefaultCS.aspx
<%@ Page Language="c#"  %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container size-thin" >
        <div>Please, select your gender:</div>
        <telerik:RadRadioButtonList runat="server" ID="RadioButtonList1" AutoPostBack="false" ToolTip="RadioButtonList tooltip"  EnableAriaSupport="true">
            <Items>
                <telerik:ButtonListItem Text="Male" Value="1" />
                <telerik:ButtonListItem Text="Female" Value="2" />
                <telerik:ButtonListItem Text="Other" Value="3" />
            </Items>
        </telerik:RadRadioButtonList>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance