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

WCAG 2.0 and Section 508 Accessibility Compliance

  • Corporate
    • About us
      • News
      • Team
    • Careers
  • Services
    • Products
    • Solutions
    • Certifications
  • Work
    • Clients
    • Testimonials
    • FAQ
Validate with WAVE
  • Demo Configurator

Telerik RadPanelBar for ASP.NET AJAX is compliant with Section 508 and Level AA of the WCAG 2.0 Guidelines . Run WAVE, the automated web accessibility evaluation tool, to check the accessibility level of the control yourself.

This example demonstrates how you can make Telerik's ASP.NET RadPanelBar accessible by leveraging the settings for the different caption and summary properties of the rendered HTML elements.

The accordion control is also visible in Windows High Contrast mode when using Simple skin.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • styles.css
<%@ Page Language="c#" CodeFile="DefaultCS.aspx.cs" AutoEventWireup="true" Inherits="PanelBar.Examples.Accessibility.DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link rel="stylesheet" type="text/css" href="styles.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:RadPanelBar RenderMode="Lightweight" runat="server" ID="RadPanelBar1" Width="100%" EnableAriaSupport="true">
            <Items>
                <telerik:RadPanelItem Expanded="True" Text="Corporate" AccessKey="C">
                    <Items>
                        <telerik:RadPanelItem Expanded="True" Text="About us" AccessKey="A">
                            <Items>
                                <telerik:RadPanelItem Text="News" AccessKey="N" />
                                <telerik:RadPanelItem Text="Team" AccessKey="T" />
                            </Items>
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem Text="Careers" AccessKey="R" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Services" AccessKey="s">
                    <Items>
                        <telerik:RadPanelItem Text="Products" AccessKey="P" />
                        <telerik:RadPanelItem Text="Solutions" AccessKey="O" />
                        <telerik:RadPanelItem Text="Certifications" AccessKey="E" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Work" AccessKey="W">
                    <Items>
                        <telerik:RadPanelItem Text="Clients" AccessKey="L" />
                        <telerik:RadPanelItem Text="Testimonials" AccessKey="I" />
                        <telerik:RadPanelItem Text="FAQ" AccessKey="Q" />
                    </Items>
                </telerik:RadPanelItem>
            </Items>
            <ExpandAnimation Type="None" />
        </telerik:RadPanelBar>
    </div>
    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" CssClass="waveLink">Validate with WAVE</asp:LinkButton>

    <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ConfigurationPanel1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadPanelBar1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                    <telerik:AjaxUpdatedControl ControlID="ConfigurationPanel1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1">
    </telerik:RadAjaxLoadingPanel>
    <qsf:ConfiguratorPanel runat="server" ID="ConfigurationPanel1" Title="Demo Configurator">
        <Views>
            <qsf:View Title="Panelbar Expand Mode">
                <qsf:RadioButtonList runat="server" ID="RadioButtonList1" AutoPostBack="True" Orientation="Horizontal"
                    OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
                    <asp:ListItem Value="MultipleExpandedItems" Selected="True">Multiple Expanded Items</asp:ListItem>
                    <asp:ListItem Value="SingleExpandedItem">Single Expanded Item</asp:ListItem>
                    <asp:ListItem Value="FullExpandedItem">Full Expanded Item</asp:ListItem>
                </qsf:RadioButtonList>
            </qsf:View>
        </Views>
    </qsf:ConfiguratorPanel>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance