Telerik is a leading vendor of ASP.NET AJAX, ASP.NET MVC, Silverlight, WinForms and WPF controls and components, as well as .NET Reporting, .NET ORM , .NET CMS, Code Analysis, Mocking, Team Productivity and Automated Testing Tools. Building on its expertise in interface development and Microsoft technologies, Telerik helps customers build applications with unparalleled richness, responsiveness and interactivity. Telerik products help thousands of companies to be more productive and deliver reliable applications under budget and on time.
Version Q1 2012 released 04/11/2012
select
  • Rate / Review
    • Give your Feedback:

      Rate this demo:


RibbonBar / Accessibility

Accessibility validation

Validate with WAVE

WAVE is a free web accessibility evaluation tool, which checks for compliance issues with many of the Section 508 and WCAG guidelines. Have in mind that only humans can determine whether a web page is accessible - the above validation link is provided for the sake of completeness.


  • This example shows the accessibility features of RadRibbonBar for ASP.NET AJAX. RadRibbonBar has keyboard navigation enabled as well as tooltips for images with the ImageAltText property.

    Press ALt + R to activate the RibbonBar and show the key hints.

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

    Telerik RadRibbonBar for ASP.NET AJAX is level A accessible (in compliance with the W3C Web Accessibility Guidelines 2.0) as well as Section 508 compliant.

Source Code

C# VB.NET
Show code in new window Demo isolation steps
  • <%@ Page Language="C#" %>

    <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
    <%@ Register TagPrefix="qsf" TagName="Header" Src="~/Common/Header.ascx" %>
    <%@ Register TagPrefix="qsf" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
    <%@ Register TagPrefix="qsf" TagName="Footer" Src="~/Common/Footer.ascx" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <qsf:HeadTag runat="server" ID="Headtag1" />
        <style type="text/css">
            
        </style>
    </head>
    <body class="BODY">
        <form runat="server" id="mainForm" method="post">
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
        <qsf:Header ID="Header1" runat="server" NavigationLanguage="C#" XhtmlCompliant="False"
            ShowSkinChooser="false"></qsf:Header>
        <div style="width: 854px; height: 280px; background: url('../KeyboardSupport/icons/demo_back.png') no-repeat 1px top;
            padding: 39px 13px 0">
            <telerik:RadRibbonBar ID="RadRibbonBar1" runat="server" TabIndex="1" Skin="Simple">
                <Tabs>
                    <telerik:RibbonBarTab Text="Home" AccessKey="H">
                        <telerik:RibbonBarGroup Text="Clipboard">
                            <Items>
                                <telerik:RibbonBarMenu Size="Large" Text="Paste" ImageAltText="paste" ImageUrl="../KeyboardSupport/../KeyboardSupport/icons/home/Paste.png"
                                    AccessKey="V">
                                    <Items>
                                        <telerik:RibbonBarMenuItem Text="Paste" ImageAltText="paste" ImageUrl="../KeyboardSupport/icons/home/Paste.png"
                                            AccessKey="P" />
                                        <telerik:RibbonBarMenuItem Text="Paste Special..." ImageAltText="paste" ImageUrl="../KeyboardSupport/icons/home/Paste.png"
                                            AccessKey="S" />
                                    </Items>
                                </telerik:RibbonBarMenu>
                                <telerik:RibbonBarButton Size="Medium" Text="Cut" ImageAltText="cut" ImageUrl="../KeyboardSupport/icons/home/Cut.png"
                                    AccessKey="X" />
                                <telerik:RibbonBarButton Size="Medium" Text="Copy" ImageAltText="copy" ImageUrl="../KeyboardSupport/icons/home/Copy.png"
                                    AccessKey="Z" />
                                <telerik:RibbonBarButton Size="Medium" Text="Format" ImageAltText="format painter"
                                    ImageUrl="../KeyboardSupport/icons/home/Format_Painter.png" AccessKey="FP" />
                            </Items>
                        </telerik:RibbonBarGroup>
                        <telerik:RibbonBarGroup Text="Font">
                            <Items>
                                <telerik:RibbonBarToggleButton Size="Small" Text="Bold" ImageAltText="bold" ImageUrl="../KeyboardSupport/icons/home/font/Bold.png"
                                    AccessKey="1" />
                                <telerik:RibbonBarToggleButton Size="Small" Text="Italic" ImageAltText="italic" ImageUrl="../KeyboardSupport/icons/home/font/Italic.png"
                                    AccessKey="2" />
                                <telerik:RibbonBarToggleButton Size="Small" Text="Underline" ImageAltText="underline"
                                    ImageUrl="../KeyboardSupport/icons/home/font/Underline.png" AccessKey="3" />
                                <telerik:RibbonBarToggleButton Size="Small" Text="Strikethrough" ImageAltText="strike"
                                    ImageUrl="../KeyboardSupport/icons/home/font/Strike.png" AccessKey="4" />
                                <telerik:RibbonBarToggleList>
                                    <ToggleButtons>
                                        <telerik:RibbonBarToggleButton Size="Small" Text="Superscript" ImageAltText="superscript"
                                            ImageUrl="../KeyboardSupport/icons/home/font/Superscript.png" AccessKey="5" />
                                        <telerik:RibbonBarToggleButton Size="Small" Text="Subscript" ImageAltText="subscript"
                                            ImageUrl="../KeyboardSupport/icons/home/font/Subscript.png" AccessKey="6" />
                                    </ToggleButtons>
                                </telerik:RibbonBarToggleList>
                            </Items>
                        </telerik:RibbonBarGroup>
                        <telerik:RibbonBarGroup Text="Paragraph">
                            <Items>
                                <telerik:RibbonBarButtonStrip>
                                    <Buttons>
                                        <telerik:RibbonBarButton Text="Align Left" AccessKey="AL" ImageAltText="align left"
                                            ImageUrl="../KeyboardSupport/icons/home/paragraph/AlignLeft.png" />
                                        <telerik:RibbonBarButton Text="Align Center" AccessKey="AC" ImageAltText="align center"
                                            ImageUrl="../KeyboardSupport/icons/home/paragraph/AlignCenter.png" />
                                        <telerik:RibbonBarButton Text="Align Right" AccessKey="AR" ImageAltText="align right"
                                            ImageUrl="../KeyboardSupport/icons/home/paragraph/AlignRight.png" />
                                        <telerik:RibbonBarButton Text="Justify" AccessKey="AJ" ImageAltText="justify" ImageUrl="../KeyboardSupport/icons/home/paragraph/Justify.png" />
                                    </Buttons>
                                </telerik:RibbonBarButtonStrip>
                                <telerik:RibbonBarButtonStrip>
                                    <Buttons>
                                        <telerik:RibbonBarButton Size="Small" Text="Unordered List" ImageAltText="ul" AccessKey="U"
                                            ImageUrl="../KeyboardSupport/icons/home/paragraph/UL.png" />
                                        <telerik:RibbonBarButton Size="Small" Text="Numbered List" ImageAltText="ol" AccessKey="N"
                                            ImageUrl="../KeyboardSupport/icons/home/paragraph/OL.png" />
                                    </Buttons>
                                </telerik:RibbonBarButtonStrip>
                                <telerik:RibbonBarButtonStrip>
                                    <Buttons>
                                        <telerik:RibbonBarButton Size="Small" Text="Decrease Indent" ImageAltText="decrease indent"
                                            AccessKey="AO" ImageUrl="../KeyboardSupport/icons/home/paragraph/DecrIndent.png" />
                                        <telerik:RibbonBarButton Size="Small" Text="Increase Indent" ImageAltText="increase indent"
                                            AccessKey="AI" ImageUrl="../KeyboardSupport/icons/home/paragraph/IncrIndent.png" />
                                    </Buttons>
                                </telerik:RibbonBarButtonStrip>
                            </Items>
                        </telerik:RibbonBarGroup>
                        <telerik:RibbonBarGroup Text="Editing">
                            <Items>
                                <telerik:RibbonBarSplitButton Size="Medium" Text="Find" AccessKey="FD" ImageAltText="find"
                                    ImageUrl="../KeyboardSupport/icons/home/Find.png">
                                    <Buttons>
                                        <telerik:RibbonBarButton Text="Find..." AccessKey="F" ImageAltText="find" ImageUrl="../KeyboardSupport/icons/home/Find.png" />
                                        <telerik:RibbonBarButton Text="Go to..." AccessKey="G" ImageAltText="go" ImageUrl="../KeyboardSupport/icons/home/Go.png" />
                                    </Buttons>
                                </telerik:RibbonBarSplitButton>
                                <telerik:RibbonBarButton Size="Medium" Text="Replace" AccessKey="R" ImageAltText="replace"
                                    ImageUrl="../KeyboardSupport/icons/home/Replace.png" />
                                <telerik:RibbonBarMenu Size="Medium" Text="Select" AccessKey="SL" ImageAltText="select"
                                    ImageUrl="../KeyboardSupport/icons/home/Select.png">
                                    <Items>
                                        <telerik:RibbonBarMenuItem Text="Select All" ImageAltText="select all" ImageUrl="../KeyboardSupport/icons/home/Select_All.png"
                                            AccessKey="A" />
                                        <telerik:RibbonBarMenuItem Text="Select Objects" ImageAltText="select" ImageUrl="../KeyboardSupport/icons/home/Select.png"
                                            AccessKey="S" />
                                    </Items>
                                </telerik:RibbonBarMenu>
                            </Items>
                        </telerik:RibbonBarGroup>
                    </telerik:RibbonBarTab>
                    <telerik:RibbonBarTab Text="View" AccessKey="V">
                        <telerik:RibbonBarGroup Text="Zoom">
                            <Items>
                                <telerik:RibbonBarToggleList>
                                    <ToggleButtons>
                                        <telerik:RibbonBarToggleButton Size="Large" Text="Zoom" AccessKey="Q" ImageAltText="zoom"
                                            ImageUrl="../KeyboardSupport/icons/view/Zoom.png" />
                                        <telerik:RibbonBarToggleButton Size="Large" Text="100%" AccessKey="J" ImageAltText="100"
                                            ImageUrl="../KeyboardSupport/icons/view/100.png" />
                                    </ToggleButtons>
                                </telerik:RibbonBarToggleList>
                                <telerik:RibbonBarToggleList>
                                    <ToggleButtons>
                                        <telerik:RibbonBarToggleButton Size="Medium" Text="One Page" AccessKey="1" ImageAltText="one page"
                                            ImageUrl="../KeyboardSupport/icons/view/One_Page.png" />
                                        <telerik:RibbonBarToggleButton Size="Medium" Text="Two Pages" AccessKey="2" ImageAltText="two pages"
                                            ImageUrl="../KeyboardSupport/icons/view/Two_Pages.png" />
                                        <telerik:RibbonBarToggleButton Size="Medium" Text="Page Width" AccessKey="I" ImageAltText="page width"
                                            ImageUrl="../KeyboardSupport/icons/view/Page_Width.png" />
                                    </ToggleButtons>
                                </telerik:RibbonBarToggleList>
                            </Items>
                        </telerik:RibbonBarGroup>
                        <telerik:RibbonBarGroup Text="Macros">
                            <Items>
                                <telerik:RibbonBarSplitButton Size="Large" Text="Macros" AccessKey="M" ImageAltText="macros"
                                    ImageUrl="../KeyboardSupport/icons/view/Macros.png">
                                    <Buttons>
                                        <telerik:RibbonBarButton Text="View Macros" AccessKey="W" ImageAltText="macros" ImageUrl="../KeyboardSupport/icons/view/Macros.png" />
                                        <telerik:RibbonBarButton Text="Record Macro..." AccessKey="R" ImageAltText="macros record"
                                            ImageUrl="../KeyboardSupport/icons/view/Macros_Record.png" />
                                    </Buttons>
                                </telerik:RibbonBarSplitButton>
                            </Items>
                        </telerik:RibbonBarGroup>
                    </telerik:RibbonBarTab>
                    <telerik:RibbonBarTab Text="Insert" AccessKey="I">
                        <telerik:RibbonBarGroup Text="Illustrations">
                            <Items>
                                <telerik:RibbonBarButton Size="Large" Text="Picture" ImageAltText="picture" ImageUrl="../KeyboardSupport/icons/insert/Picture.png"
                                    AccessKey="P" />
                                <telerik:RibbonBarButton Size="Large" Text="Clip Art" ImageAltText="clipart" ImageUrl="../KeyboardSupport/icons/insert/Clipart.png"
                                    AccessKey="F" />
                                <telerik:RibbonBarMenu Size="Large" Text="Shapes" ImageAltText="shapes" ImageUrl="../KeyboardSupport/icons/insert/Shapes.png"
                                    AccessKey="SH" />
                                <telerik:RibbonBarButton Size="Large" Text="SmartArt" ImageAltText="smart art" ImageUrl="../KeyboardSupport/icons/insert/SmartArt.png"
                                    AccessKey="M" />
                                <telerik:RibbonBarButton Size="Large" Text="Chart" ImageAltText="chart" ImageUrl="../KeyboardSupport/icons/insert/Chart.png"
                                    AccessKey="C" />
                            </Items>
                        </telerik:RibbonBarGroup>
                        <telerik:RibbonBarGroup Text="Links">
                            <Items>
                                <telerik:RibbonBarButton Size="Large" Text="Hyperlink" ImageAltText="link" ImageUrl="../KeyboardSupport/icons/insert/Link.png"
                                    AccessKey="I" />
                                <telerik:RibbonBarButton Size="Large" Text="Bookmark" ImageAltText="bookmark" ImageUrl="../KeyboardSupport/icons/insert/Bookmark.png"
                                    AccessKey="K" />
                                <telerik:RibbonBarButton Size="Large" Text="Cross-reference" ImageAltText="cross reference"
                                    ImageUrl="../KeyboardSupport/icons/insert/Cross_reference.png" AccessKey="RF" />
                            </Items>
                        </telerik:RibbonBarGroup>
                    </telerik:RibbonBarTab>
                </Tabs>
            </telerik:RadRibbonBar>
        </div>
        <div style="clear: both;">
            <h3>
                Accessibility validation</h3>
            <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">Validate with WAVE</asp:LinkButton>
            <p>
                WAVE is a free web accessibility evaluation tool, which checks for compliance issues
                with many of the Section 508 and WCAG guidelines. Have in mind that only humans
                can determine whether a web page is accessible - the above validation link is provided
                for the sake of completeness.</p>
        </div>
        <script runat="server">
            protected void LinkButton1_Click(object sender, EventArgs e)
            {
                Response.Redirect("http://wave.webaim.org/report?url=" + Page.Request.Url.AbsoluteUri);
            }
        </script>
        <qsf:Footer runat="server" ID="Footer1" />
        </form>
    </body>
    </html>

Get more than expected!

Take your time to truly experience the power of RadControls for ASP.NET AJAX with a free 60-day trial backed up by Telerik’s unlimited dedicated support.

Download your RadControls for ASP.NET AJAX trial and jumpstart your development with the available Getting Started resources.

If you have any questions, do not hesitate to contact us at sales@telerik.com.

Copyright 2002-2012 © Telerik. All right reserved
Telerik Inc, 201 Jones Rd, Waltham, MA 02451