EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  Dojo Tree keyboard navigation?

    Posted Wed March 18, 2015 04:48 PM

    Is it possible to navigate a Dojo Tree using just keyboard input?

    I find that the arrow keys will move you up/down though the tree, but enter will not expand a node.  Once you enter an expanded node, I can't find a way to exit.  I also can not find a way to close a node via the keyboard.

    Any suggestions?

    RBD 8.5.1.1

    Thanks, Kendall

    Kendall.Coolidge


  • 2.  Re: Dojo Tree keyboard navigation?

    Posted Thu March 19, 2015 08:05 AM

    A colleague showed me that the right and left arrow keys will expand/collapse a node, but once you arrow into an expanded node, you can't get out.

    I did discover that "home" will jump you to the top of the tree and "end" will take you all the way to the bottom.

    I have not found a way to just go up one level.  Is there a way to do this?

    Our applications are being evaluated against the W3C Web Content Accessibility Guidelines (WCAG) 2.0 

    Kendall

    Kendall.Coolidge


  • 3.  Re: Dojo Tree keyboard navigation?

    Posted Thu March 19, 2015 08:26 AM

    The dojo manual shows these options:

    Action Key
    Navigate into tree* Tab
    Navigate to the next sibling Down arrow
    Navigate to the previous sibling Up arrow
    Open a subtree Right arrow
    Close a subtree Left arrow
    Navigate to open subtree Right arrow
    Navigate to parent Left arrow
    Activate a tree item Enter
    Navigate to first tree node Home
    Navigate to last visible tree node

    End

    So in theory left arrow should navigate to the parent.

    I tried this on a dojo tree and it does not seem to work in EGL. Perhaps the EGL dojo externaltypes are based on an older version of the dojo toolkit or it's a bug in Dojo. 

    Tthe only option I found exit a node by keyboard is to start typing the parent node text. this jumps to the parent item. if you then press the left arrow it closes the parent.

     

    Kind regards,

     

    Bram

     

    Bram_Callewaert


  • 4.  Re: Dojo Tree keyboard navigation?

    Posted Thu March 19, 2015 08:47 AM

    Thanks for your reply, Bram.  That's a great find about the node text, but you're right, the left arrow really should do it.  Let's see if there is a response from the IBM folks.

    Best,

    Kendall

    Kendall.Coolidge