Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#3559 closed feature (fixed)

:focusable, :tabbable, setFocus()

Reported by: Scott González Owned by: Scott González
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)

cross-browser-tabindex.patch (2.1 KB) - added by colinclark 11 years ago.
Patch from Colin Clark for cross-browser tabindex normalization
core.diff (2.0 KB) - added by trixta 11 years ago.
some additions to the patch by colin: area is only focusable, if a href-attribute is available. + IE8 detection

Download all attachments as: .zip

Change History (11)

comment:1 Changed 11 years ago by davidb

Cc: davidb added

Changed 11 years ago by colinclark

Patch from Colin Clark for cross-browser tabindex normalization

comment:2 Changed 11 years ago by colinclark

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 11 years ago by trixta

Attachment: core.diff added

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

comment:3 Changed 11 years ago by Scott González

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

comment:4 Changed 11 years ago by Scott González

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

comment:5 Changed 11 years ago by Scott González

Landed tabindex normalization in jQuery core (r6043).

comment:6 Changed 11 years ago by Scott González

Milestone: TBD1.6

comment:7 Changed 11 years ago by Scott González

Added :tabbable and :focusable selectors in r1733.

comment:8 Changed 11 years ago by rdworth

Milestone: 1.71.8

comment:9 Changed 11 years ago by Scott González

Resolution: fixed
Status: newclosed

.focus() override added in r2473.

Note: See TracTickets for help on using tickets.