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

WAI-ARIA Support

Split Button with WAI-ARIA attributes
  • Option 1
  • Option 2

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

Optionally, you can set also the control's DescribedBy or Label of its of the AriaSettings composite tag.

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-containers">
        <div class="demo-container">
            <telerik:RadSplitButton ID="RadSplitButton1" runat="server" EnableAriaSupport="true" 
                Text="Split Button with WAI-ARIA attributes" Width="300px">
                <AriaSettings Label="Some Label Value" />
                <ContextMenu runat="server" >
                    <Items> 
                        <telerik:RadMenuItem Text="Option 1"></telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Option 2"></telerik:RadMenuItem>
                    </Items>
                </ContextMenu>
            </telerik:RadSplitButton>
        </div>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance