FLUID-155: Create a jQuery plugin for handling the tabindex attribute in a cross-browser way.

Metadata

Source
FLUID-155
Type
Sub-task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Colin Clark
Created
2008-01-01T19:16:13.000-0500
Updated
2011-01-18T12:48:03.574-0500
Versions
  1. 0.1
Fixed Versions
  1. 0.3
Component
  1. Keyboard Accessibility

Description

It's hard to figure out if a tabindex has actually been set because of variances across browsers. A simple jQuery plugin should be written to abstract this process. Here's a thread from fluid-work documenting the various issues:

http://fluidproject.org/pipermail/fluid-work/2007-December/001129.html

Comments

  • Colin Clark commented 2008-01-01T19:58:01.000-0500

    There seems to be a problem in Opera (on both platforms) where negative tab indices return "0" instead of the correct value. So if you set the tabindex to -1, it will report 0 on a call to jQuery(element).tabIndex().

  • Colin Clark commented 2008-01-02T13:27:21.000-0500

    Implemented and committed. Awaiting code review from Simon, Michelle, and Eli before forwarding along to the jQuery community.