Skip to main content

Bug Tracker

Side navigation

#2740 closed feature (invalid)

Opened April 24, 2008 10:23AM UTC

Closed October 12, 2009 11:29PM UTC


Reported by: Elwood Owned by:
Priority: major Milestone: 1.2.3
Component: plugin Version: 1.2.3
Keywords: keypress, keyboard keys Cc:
Blocked by: Blocking:

Hi people! Forgive my English (Google Translate).

I just want to inform you that it is not possible folding and unfolding tree from the keyboard, which means a a significant dependence on the mouse device and it affects the Priority 2 of the WCAG.

I added event keypress in the "applyClasses":


/ / Apply event to hitarea

this.find ( "div." CLASSES.hitarea +). click (toggle);

this.find ( "div." CLASSES.hitarea +). keypress (toggle);


And in this event we can control which key has been pressed:


// handle toggle event

function toggler(e) {

if (e.keyCode == 13 || e.keyCode == 'undefined') {


Let me know what you think.


Attachments (0)
Change History (1)

Changed October 12, 2009 11:29PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, .