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

WCAG 2.0 and Section 508 Accessibility Compliance

Validate with WAVE

RadButton 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.

RadButton 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 RadButton, as shown in the Keyboard Navigation demo.

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

<%@ 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" type="text/css" />
</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">
        <telerik:RadButton RenderMode="Lightweight" AccessKey="A" ID="btnUpload"
            AutoPostBack="false" runat="server" ButtonType="StandardButton" Text="Standard Button">
            <Icon PrimaryIconCssClass="rbUpload" PrimaryIconLeft="5"></Icon>
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="RadButton1" AccessKey="B" AutoPostBack="false" runat="server"
            ButtonType="LinkButton" Text="Link Button" ToolTip="Link Button">
            <Icon SecondaryIconCssClass="rbSave"></Icon>
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="RadioButton1" AccessKey="1" runat="server" ButtonType="ToggleButton"
            ToggleType="Radio" AutoPostBack="false" GroupName="Radio" Text="Radio Button 1"
            ToolTip="Radio Button 1">
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="RadioButton2" AccessKey="2" runat="server" ButtonType="ToggleButton"
            ToggleType="Radio" AutoPostBack="false" GroupName="Radio" Text="Radio Button 2"
            Checked="true" ToolTip="Radio Button 2">
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="RadioButton3" AccessKey="3" runat="server" ButtonType="ToggleButton"
            ToggleType="Radio" AutoPostBack="false" GroupName="Radio" Text="Radio Button 3"
            ToolTip="Radio Button 3">
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="RadButton2" AccessKey="4" runat="server" ButtonType="ToggleButton"
            ToggleType="CheckBox" AutoPostBack="false" Text="CheckBox 1" ToolTip="CheckBox 1">
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="RadButton3" AccessKey="5" runat="server" ButtonType="ToggleButton"
            ToggleType="CheckBox" AutoPostBack="false" Text="CheckBox 2" Checked="true" ToolTip="CheckBox 2">
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="RadButton4" AccessKey="6" runat="server" ButtonType="ToggleButton"
            ToggleType="CheckBox" AutoPostBack="false" Text="CheckBox 3" ToolTip="CheckBox 3">
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="CheckBox1" AccessKey="7" runat="server" ButtonType="StandardButton"
            ToggleType="CheckBox" Checked="true" AutoPostBack="false" Text="CheckBox 1">
            <ToggleStates>
                <telerik:RadButtonToggleState Text="Checked" SecondaryIconCssClass="rbToggleCheckboxChecked"></telerik:RadButtonToggleState>
                <telerik:RadButtonToggleState Text="UnChecked" SecondaryIconCssClass="rbToggleCheckbox"></telerik:RadButtonToggleState>
            </ToggleStates>
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="CheckBox" AccessKey="8" runat="server" ButtonType="StandardButton"
            ToggleType="CheckBox" AutoPostBack="false" Text="CheckBox 2">
            <ToggleStates>
                <telerik:RadButtonToggleState Text="Checked" SecondaryIconCssClass="rbToggleCheckboxChecked"></telerik:RadButtonToggleState>
                <telerik:RadButtonToggleState Text="UnChecked" SecondaryIconCssClass="rbToggleCheckbox"></telerik:RadButtonToggleState>
            </ToggleStates>
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="CheckBox3" AccessKey="9" runat="server" ButtonType="StandardButton"
            ToggleType="CheckBox" Checked="true" AutoPostBack="false" Text="CheckBox 3">
            <ToggleStates>
                <telerik:RadButtonToggleState Text="Checked" SecondaryIconCssClass="rbToggleCheckboxChecked"></telerik:RadButtonToggleState>
                <telerik:RadButtonToggleState Text="UnChecked" SecondaryIconCssClass="rbToggleCheckbox"></telerik:RadButtonToggleState>
            </ToggleStates>
        </telerik:RadButton>
        <div style="padding-bottom: 5px;">
        </div>
        <telerik:RadButton RenderMode="Lightweight" ID="BuiltinIconsButton2" AccessKey="0" runat="server" ButtonType="StandardButton"
            Text="Toggle Button" ToggleType="CustomToggle" AutoPostBack="false">
            <ToggleStates>
                <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="OK"></telerik:RadButtonToggleState>
                <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="Cancel"></telerik:RadButtonToggleState>
            </ToggleStates>
        </telerik:RadButton>
    </div>
    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">Validate with WAVE</asp:LinkButton>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance