Closed Bug 810591 Opened 12 years ago Closed 11 years ago

[Mac OS] tabindex not working

Categories

(Core :: DOM: Core & HTML, defect)

16 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 759922

People

(Reporter: second_comet, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121024073032

Steps to reproduce:

<a class="abc" tabindex="7">do something by ajax</a>  //not working in firefox, working in chrome


<table clas="abc" tabindex="7">....</table>  //working fine in firefox and chrome
Please provide a minimal testcase as an attachment or URL here.
Flags: needinfo?(second_comet)
below is simple html that can be use to try out

<html>
<table clas="abc" tabindex="1"><tr><td></td></tr></table>
<a class="abc" tabindex="2">do something by ajax</a>
</html>
Flags: needinfo?(second_comet)
For a minimal testcase, the "do something by ajax" needs to be replaced by something specific.
<html>
<table clas="abc" tabindex="1"><tr><td></td></tr></table>
<a class="abc" tabindex="2">click here</a>
</html>
Cometta, please explain in more detail what the problem is. The tabindex works okay in the testcase for me.
i tried below on firefox 16.0.2 macos and <table> working fine.  <a> not working

<html>
<table clas="abc" tabindex="1"><tr><td>this work</td></tr></table>
<a href="gosomething" class="abc" tabindex="2">click here not work</a>
<a class="abc" tabindex="3">click here2 not work</a>
</html>
(In reply to cometta from comment #6)
> i tried below on firefox 16.0.2 macos and <table> working fine.  <a> not
> working
> 
> <html>
> <table clas="abc" tabindex="1"><tr><td>this work</td></tr></table>
> <a href="gosomething" class="abc" tabindex="2">click here not work</a>
> <a class="abc" tabindex="3">click here2 not work</a>
> </html>

Cannot reproduce on Mac OS X 10.7.5 FF 16.0.2
I can tab to all three elements in comment 6 in x 17.0b5 Linux-x86_64.

Same as bug 759922?
maybe similar to  bug 759922. i only tried with <a>
Attachment #737440 - Attachment mime type: text/plain → text/html
The problem appears to still be there in release channel of Firefox on Mac OS X.

Attached test case should, ideally, cycle through all elements in reverse order (except for one of the links - since it has no tabindex, it should be cycled to after all elements WITH tabindex). Each element in focus should have a red background.

Firefox 20.0 on Windows 8 x64 and Windows 7 x64 cycle correctly. Firefox 20.0 on Mac OS X 10.8 skips the <a> elements entirely.
I might misunderstand the issue here, but everything looks the same to me both on Win 7/Mac OS X 10.8
Actually I see the problem now.
The <a> elements (last 3 lines) are skipped when TAB-ing.
Reproducible on FF 20.0.1, nightly 2013-04-15.
Mac OS X related only, works fine on Win 7, Ubuntu 12.04.
Not a regression, repro on FF 4.0.1.
Status: UNCONFIRMED → NEW
Component: Untriaged → Keyboard: Navigation
Ever confirmed: true
Product: Firefox → Core
Summary: tabindex not working → [Mac OS] tabindex not working
The same problem is present for <img> tag see bug 759922 
can I mark it as a dup?
See Also: → 759922
Bug 759922 might be considered a separate issue, so we'll leave it on NEW for now.
Component: Keyboard: Navigation → DOM: Core & HTML
This is the same as bug 759922: those controls are not normally in the tab order on Mac, and we're not letting tabindex override.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: