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

DockCommand & 508 Compliance

1 Answer 44 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Emmily
Top achievements
Rank 1
Emmily asked on 28 Dec 2012, 03:38 PM
My group is working on software that is used by several public schools. The UI has to be Section 508 compliant (for students with disabilities, etc), which includes being able to navigate the site using only the keyboard. Currently, we're making sure (using only the keyboard) a user can effectively [TAB] to all controls. The issue we're facing is that the DockCommands generated are skipped when tabbing through the UI. We're creating the DockCommands programatically in the C# code like this:

var cmd = new DockCommand();
cmd.AutoPostBack = true;
cmd.Name = commandText;
cmd.Text = commandText;
cmd.CssClass = cssClass;

However, this seems to always create an anchor tag with an empty span tag nested inside. The span contains a background image. Because the anchor has no href attribute and the image is just a background of the span, the tab skips right over it.

Are we doing something wrong? Or is there a way to work around this?

Any help would be much appreciated. Thanks.

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 02 Jan 2013, 03:01 PM
Hello Emmily,

Indeed, currently it is not possible to tab through the command buttons of the RadDock. This is a useful feature and will be logged for future implementation. For the time being you can assign keyboard shortcuts to the commands as shown in the online demo Dock / Keyboard Support.

Kind regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Dock
Asked by
Emmily
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or