DockCommand & 508 Compliance

2 posts, 0 answers
  1. Emmily
    Emmily avatar
    1 posts
    Member since:
    Dec 2012

    Posted 28 Dec 2012 Link to this post

    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.
  2. Slav
    Slav avatar
    1359 posts

    Posted 02 Jan 2013 Link to this post

    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,
    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.
Back to Top