Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#11967 closed defect (fixed)

FF4: Layout test failures due to FF4 tabstops on overflow:auto divs even w/no scrollbars

Reported by: Katie Vance Owned by: bill
Priority: high Milestone: 1.5.2
Component: Accessibility Version: 1.5
Keywords: FF4, a11y Cc:
Blocked By: Blocking:

Description (last modified by bill)

BorderContainer.html and !AccordionContainer_a11y.html layout tests will have test failures in FF4. The failures are due to new tabbing rules. You are now able to tab to more objects then before. I've raised a question on the FF4 beta forum to determine if this is expected new behavior and if so what the new rules are or a FF4 bug:

https://firefox.uservoice.com/forums/57440-firefox-4-beta/suggestions/1243035-user-can-tab-to-div-content

If the case this is a new accessibility feature in FF4, I'm attaching fixes for the test files to accommodate the new behavior.

Attachments (1)

FF4_layout_a11y.patch (6.1 KB) - added by Katie Vance 9 years ago.

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by Katie Vance

Attachment: FF4_layout_a11y.patch added

comment:1 Changed 9 years ago by Katie Vance

There was more than 1 forum, so I also posted by question here:

https://support.mozilla.com/en-US/questions/765956

comment:2 Changed 9 years ago by bill

Description: modified (diff)

You should try to be more specific in your forum posts than just saying "certain divs". I assume there's some pattern, like the div's being scrollable (although I thought even FF3 would put a tab stop in scrollable divs, so that users could scroll them).

comment:3 Changed 8 years ago by Douglas Hays

Even though tabIndex=-1 is on the JavaScript? object for the element, adding tabindex=-1 (with lowercase i) on the DOM node fixes this. Hopefully this is just a Firefox bug that will be fixed. ksv, you should verify this and add it to your mozilla ticket.

comment:4 Changed 8 years ago by Katie Vance

Opened a FF4 ticket for this issue. A div will incorrectly get tab focus whenever overflow is set to auto.

https://bugzilla.mozilla.org/show_bug.cgi?id=616594

comment:5 Changed 8 years ago by Katie Vance

Summary: FF4: Layout test failures due to new tabbing rulesFF4: Layout test failures due to FF4 bug

comment:6 Changed 8 years ago by Douglas Hays

Owner: changed from Douglas Hays to Katie Vance

To be tested in subsequent beta versions... We're not expecting to make any dojo changes.

comment:7 Changed 8 years ago by bill

Summary: FF4: Layout test failures due to FF4 bugFF4: Layout test failures due to FF4 tabstops on overflow:auto divs even w/no scrollbars

Still happens with FF4 RC. I'd rather not update the test as per the attached patch since at some point FF may fix this problem, but OTOH I don't want the test to keep failing. In any case, it's not a serious problem.

comment:8 Changed 8 years ago by bill

Milestone: tbd1.7
Owner: changed from Katie Vance to bill
Status: newassigned

Since this is just a test failure I'll just update the tests in trunk. Could copy to 1.6/ brach if we want to, but not necessary.

comment:9 Changed 8 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [24081]) Workaround FF4 bug where overflow:auto <div>'s get a tab stop even when there's no scroll bar, fixes #11967.

comment:10 Changed 8 years ago by bill

(In [24144]) merge [24081] test fixes to 1.6/ branch, refs #11967

comment:11 Changed 8 years ago by bill

Milestone: 1.71.6.1

comment:12 Changed 8 years ago by Kenneth G. Franqueiro

Milestone: 1.6.11.5.2

Updating milestone to 1.5.2 to reflect inclusion in changeset [26956] for ticket #14199.

Note: See TracTickets for help on using tickets.