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

WCAG 2.0 and Section 508 Accessibility Compliance

RadToggleButton is compliant with Section 508 and Level AAA of the WCAG 2.0 Guidelines. Run WAVE, the automated web accessibility evaluation tool, to check the accessibility level of the control yourself.

RadToggleButton is also visible in Windows High Contrast mode when rendered with the Simple skin.

You can also use the keyboard to focus and activate a RadToggleButton, as shown in the Keyboard Navigation demo.

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
  • styles.css
<%@ Page Language="vb" AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="Telerik.Web.Examples.ToggleButton.Accessibility.DefaultVB" %>

<%@ 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>
    <link href="styles.css" rel="stylesheet" />
</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" style="text-align: center">
        <telerik:RadToggleButton ID="RadToggleButton1" runat="server" Width="100px" AutoPostBack="false">
            <ToggleStates>
                <telerik:ButtonToggleState Text="Play" Icon-CssClass="play-icon"></telerik:ButtonToggleState>
                <telerik:ButtonToggleState Text="Pause" Icon-CssClass="pause-icon"></telerik:ButtonToggleState>
                <telerik:ButtonToggleState Text="Stop" Icon-CssClass="stop-icon"></telerik:ButtonToggleState>
            </ToggleStates>
        </telerik:RadToggleButton>
    </div>
    <asp:LinkButton ID="ImageButton1" runat="server" OnClick="ImageButton1_Click">Validate with WAVE</asp:LinkButton>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance