Ticket #2515 (closed feature: invalid)
Create a shared utility for making widgets keyboard navigable.
| Reported by: | colin.clark@… | Owned by: | paul |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.4 |
| Component: | ui | Version: | 1.2.3 |
| Keywords: | accessibility | Cc: | davidb |
| Blocking: | Blocked by: |
Description
In order to make jQuery UI widgets navigable with the keyboard, it will help to have a centralized set of utility functions that make it easy to support tab focus, arrow key navigation, and common focus/blur behaviour. This will also need to include browser normalization for key up/down/press with certain keys (enter vs. space, for example) and focus/blur bubbling.
Here's an article on Mozilla Dev Centre describing techniques for keyboard accessibility:
http://developer.mozilla.org/en/docs/Key-navigable_custom_DHTML_widgets
I've written a proof-of-concept jQuery plugin that provides keyboard navigation with a simple API. Perhaps this could be used as the basis for a central jQuery UI utility?
https://source.fluidproject.org/svn/sandbox/tabindex/trunk/jquery.keyboard-a11y.js
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
