Opened 15 years ago

Closed 14 years ago

#2515 closed feature (notabug)

Create a shared utility for making widgets keyboard navigable.

Reported by: [email protected] Owned by: paul
Priority: major Milestone: 1.8
Component: ui.core Version: 1.5b4
Keywords: accessibility Cc: davidb, michelled, acheetham
Blocked by: Blocking:

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 (10)

comment:1 Changed 15 years ago by davidserduke

Component: coreui
Owner: set to paul

comment:2 Changed 15 years ago by paul

Type: bugfeature

comment:3 Changed 15 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:4 Changed 15 years ago by paul

Version: 1.2.31.5b4

comment:5 Changed 15 years ago by paul

Milestone: 1.6b

comment:6 Changed 15 years ago by davidb

Cc: michelled acheetham added

comment:8 Changed 15 years ago by Cloudream

Milestone: 1.6bTDB

comment:9 Changed 14 years ago by Jörn Zaefferer

Milestone: TBD1.8

comment:10 Changed 14 years ago by Jörn Zaefferer

Resolution: invalid
Status: newclosed

Provided links are broken.

More important, plugins with keyboard navigation handle it fine by themselves. We'd rather extract existing keyboard handling into common functions.

Note: See TracTickets for help on using tickets.