New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

WCAG 2.0 and Section 508 Accessibility Compliance

RadGrid for ASP.NET AJAX satisfies the requirements of "Section 508" for software accessibility, as well as thosefor level AA (in compliance with the W3C Web Accessibility Guidelines 2.0).

This online example demonstrates how you can make RadGrid accessible by leveraging the settings for the different caption, tooltip and summary properties of the rendered HTML elements.

PropertyDescription
GridButtonColumn.ToolTipGets or sets the ToolTip property of each of the GridDataItem buttons.
GridCheckBoxColumn.ToolTipGets or sets the ToolTip property of each of the GridDataItem checkbox controls.
GridEditCommandColumn.ToolTipGets or sets the ToolTip property of each of the GridDataItem buttons.
GridClientSelectColumn.ToolTipProperties that control the visual appearance of RadGrid and all tables in the hierarchy.
RadGrid.PagerStyle.GoToPageTextBoxToolTipThe ToolTip that will be applied to the GoToPage TextBox control.
RadGrid.PagerStyle.GoToPageButtonToolTipThe ToolTip that will be applied to the GoToPage input element.
RadGrid.PagerStyle.ChangePageSizeTextBoxToolTipThe ToolTip that will be applied to the ChangePageSize TextBox control.
RadGrid.PagerStyle.ChangePageSizeButtonToolTipThe ToolTip that will be applied to the ChangePageSize Button control.
RadGrid.PagerStyle.ChangePageSizeComboBoxTableSummaryThe summary attribute that will be applied to the table which holds the ChangePageSize RadComboBox control.
RadGrid.PagerStyle.ChangePageSizeComboBoxToolTipThe ToolTip that will be applied to the input element in the ChangePageSize RadComboBox control.
RadGrid.GridTableView.EditFormSettings.FormMainTableSummaryThe summary attribute for the table that wraps the whole GridEditFormItem.
RadGrid.GridTableView.EditFormSettings.AutoGeneratedColumnEditorsTableWrapperSummaryThe summary attribute for the table which holds all cells created from the grid column editors GridEditFormItem
RadGrid.GroupingSettings.MainTableSummaryThe summary attribute for the table that wraps the GridGroupPanel
RadGrid.GroupingSettings.NestedTableSummaryThe summary attribute for the table second level table in the GridGroupPanel
RadGrid.GroupingSettings.GroupItemsWrapperTableSummaryThe summary attribute for the table which holds all group items in the GridGroupPanel
RadGrid.GroupingSettings.MainTableCaptionThe caption for the table that wraps the GridGroupPanel
RadGrid.GroupingSettings.NestedTableCaptionThe caption for the table second level table in the GridGroupPanel
RadGrid.GroupingSettings.GroupItemsWrapperTableCaptionThe caption for the table which holds all group items in the GridGroupPanel
GridBoolColumnEditor.ToolTipThe ToolTip that will be applied to the CheckBox control.
GridTextColumnEditor.ToolTipThe ToolTip that will be applied to the column editor initialized control.

Covering this criterion is very important when you wouldlike to make your components accessible to people with disabilities.

The Section 508 standards are listed on the official government site:

Section 508

Here are the code snippets from the aforementioned sample:

ASP.NET
<head runat="server">
  <link type="text/css" rel="stylesheet" href="Skins/Sunset/Grid.Sunset.css" />
  <style type="text/css">.RadGrid_<%= MyGrid1.Skin %> th input
    {
         border:0px;         
         background-color: Transparent;         
         font-weight:bold;         
         cursor: pointer;         
         color:White;         
         text-align:left;        
    }        
    .RadGrid_<%= MyGrid1.Skin %> th, .RadGrid_<%= MyGrid1.Skin %> td         
    {
        white-space:nowrap;        
    }
  </style>
</head>
<body class="BODY">
  <form runat="server" id="mainForm" method="post" style="width: 100%;">
  <div>
    <telerik:MySection508Grid ID="MyGrid1" Skin="Sunset" DataSourceID="SqlDataSource1"
      AllowPaging="true" AllowSorting="true" runat="server" OnColumnCreated="MyGrid1_ColumnCreated">
      <mastertableview caption="Customers" summary="Customers">              
         <PagerTemplate>                
                    Change page:              
            <asp:Button ID="Button1" ToolTip="Previous Page" CommandName="Page" CommandArgument="Prev"CssClass="rgPagePrev" runat="server" />                    
            <asp:Button ID="Button2" ToolTip="Next Page" CommandName="Page" CommandArgument="Next" CssClass="rgPageNext" runat="server" />
         </PagerTemplate>         
      </mastertableview>
    </telerik:MySection508Grid>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
      ProviderName="System.Data.SqlClient" SelectCommand="SELECT CustomerID, CompanyName, ContactName, ContactTitle, Address FROM Customers" />
  </div>
  </form>
</body>
C#
protected void MyGrid1_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{     
    e.Column.HeaderButtonType = GridHeaderButtonType.PushButton;
}			
C#
using Telerik.Web.UI;
namespace Telerik.Web.UI
{    
    public class MySection508Grid : RadGrid
    {       
        public MySection508Grid()
        {
        }    
        protected override void RegisterScriptControl()
        {                
        }
        protected override void RegisterScriptDescriptors()
        {            
        }
        protected override void RegisterCssReferences()
        {                 
        }
    }
}			
Not finding the help you need?
Contact Support