Opened 15 years ago
Closed 13 years ago
#2740 closed feature (invalid)
[treeview]
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: |
Description
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.
Alex
Note: See
TracTickets for help on using
tickets.
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, http://dev.jqueryui.com .