Skip to main content

Search and Top Navigation

#3559 closed feature (fixed)

Opened November 10, 2008 03:19AM UTC

Closed April 18, 2009 01:04PM UTC

Last modified January 17, 2010 06:11AM UTC

:focusable, :tabbable, setFocus()

Reported by: scottgonzalez Owned by: scottgonzalez
Priority: major Milestone: 1.8
Component: [meta] ui.a11y Version: 1.6rc2
Keywords: Cc: davidb
Blocked by: Blocking:
Description

:focusable selector needs to be implemented

:tabbable selector needs to work on all elements to support ARIA

setFocus() should be added to set focus with a delay

thread dealing with all three

thread proposing setFocus()

WAI-ARIA tabIndex

selector implementation (needs to be modified to support tabIndex for Safari 3)

Attachments (2)
  • core.diff (2.0 KB) - added by trixta November 11, 2008 09:51PM UTC.

    some additions to the patch by colin: area is only focusable, if a href-attribute is available. + IE8 detection

  • cross-browser-tabindex.patch (2.1 KB) - added by colinclark November 11, 2008 08:44PM UTC.

    Patch from Colin Clark for cross-browser tabindex normalization

Change History (9)

Changed November 10, 2008 03:38AM UTC by davidb comment:1

cc: → davidb

Changed November 11, 2008 08:46PM UTC by colinclark comment:2

I've attached a patch for ui.core's tabbable and focusable functions contained in the experimental branch. This patch normalizes the behaviour of the tabindex attribute across browsers.

Specific details on the issue are available here:

http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/

Changed November 11, 2008 10:07PM UTC by scottgonzalez comment:3

Also see Fluid's keyboard a11y plugin and its documentation.

Changed December 03, 2008 03:41PM UTC by scottgonzalez comment:4

There is a related ticket in core's Trac which should be updated when the tabindex proxy for $.attr is complete.

Changed January 05, 2009 06:50PM UTC by scottgonzalez comment:5

Landed tabindex normalization in jQuery core (r6043).

Changed January 20, 2009 02:26AM UTC by scottgonzalez comment:6

milestone: TBD1.6

Changed January 21, 2009 03:53AM UTC by scottgonzalez comment:7

Added :tabbable and :focusable selectors in r1733.

Changed March 08, 2009 02:29PM UTC by rdworth comment:8

milestone: 1.71.8

Changed April 18, 2009 01:04PM UTC by scottgonzalez comment:9

resolution: → fixed
status: newclosed

.focus() override added in r2473.