This is a migrated thread and some comments may be shown as answers.

Web accessibility for radgrids' textboxes/dropdown lists in edit mode

1 Answer 105 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lyubov
Top achievements
Rank 1
Lyubov asked on 14 Dec 2016, 03:55 PM

Hi,

I'm working on fixing web accessibility errors. I have a RadGrid (see attachment) with more than 10 columns. When I want to edit a particular row in the grid, all my editable fields have accessibility errors (no labels, titles, or aria-labels for displayed textboxes/dropdown lists). I'm trying to figure out what properties of radgrid or it's components I can use so that each field on my page will be web accessible in edit mode. I know that I can use code behind to set a tooltip of a particular item on my page (see below) to some value; however, it's not a good solution since I have more than 10 columns in my grid. Let me know if there is a better way to solve the web accessibility problems for editable items on my page. 

If TypeOf (e.Item) Is GridEditableItem AndAlso e.Item.IsInEditMode Then
Dim item As GridEditableItem = DirectCast(e.Item, GridEditableItem)
Dim txtBox As TextBox = DirectCast(item("CllctnID").Controls(0), TextBox)
txtBox.ToolTip = "hello"
End If

 

Thank you,

Lyubov

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 19 Dec 2016, 09:41 AM
Hi,

The RadGrid control has WAI-ARIA support which can be easily enabled by setting EnableAriaSupport="true".

You can check the following demo: http://demos.telerik.com/aspnet-ajax/grid/examples/accessibility-and-internationalization/wai-aria-support/defaultcs.aspx

RadGrid is compliant with Section 508, and Level AA of the WCAG 2.0 Guidelines. You can check the following demo: http://demos.telerik.com/aspnet-ajax/grid/examples/accessibility-and-internationalization/accessibility-compliance/defaultcs.aspx

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

Note that for each control in the demos there is a section called "Accessibility and Internationalization" and there you can find the resources of how to make any control more accessible.


Regards,
Bozhidar
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Lyubov
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or