Keyboard Access In Firefox

2 posts, 0 answers
  1. Veenu
    Veenu avatar
    45 posts
    Member since:
    Jun 2008

    Posted 16 Dec 2009 Link to this post

    Hi,

    We've just migrated from ComponentArt Menu to Telerik Menu because of client requirenent for two features: Keyboard Access and Multiple browsers support.
    We've a fixed horizontal Menu with 6 static MenuItems, out of which, only two have sub-menus. (Menu_Usage.png)
    The requirement is that these links should be accessible via Keyboard using Shortcut Keys. This works prefectly with IE - pressing [Alt + <Shortcut Key>] sets focus on the right Menu Item and we can traverse through other Menu Items using 'Tab'-key.
    But with Firefox, pressing [Shift + Alt + <Shortcut Key>] doesn't set the focus on the first Menu Item - it makes a click on the first Menu Item! Result is that traversal is not possible at all, as using shortcut keys immediately opens the page by clicking the hyperlink.

    I've attached two snapshots from the Telerik Demo opened in IE and FF, with slight code modification to enable Shortcut Keys on one of the Demos. IE - all is fine, but using ShortCut Keys in FF activates (and clicks!) the MenuItem, and navigation via keyboard doesn't work anymore.
    FYI, this is the default behavior in Firefox for Hyperlinks
    (refer to:   http://kb.mozillazine.org/Accessibility.accesskeycausesactivation)

    But I need a solution/workaround. Any ideas?
    Thanks in advance.

    Best Regards,
    Veenu Munjal 
  2. Yana
    Admin
    Yana avatar
    4841 posts

    Posted 21 Dec 2009 Link to this post

    Hi Veenu,

    I've attached a sample page which demonstrates how you can workaround this issue in Firefox, please note that we cannot guarantee that this will work well in future versions of Firefox.

    All the best,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top