Closed Bug 141310 Opened 22 years ago Closed 21 years ago

input[type="file"] button should release tab focus

Categories

(Core :: Layout: Form Controls, defect, P1)

x86
Windows XP
defect

Tracking

()

VERIFIED WORKSFORME
Future

People

(Reporter: dslmichael, Assigned: aaronlev)

Details

Attachments

(1 file)

See attachment 17693 [details] for a testcase.

If you tab through the testcase, the "Browse..." button recieves focus, but if
you continue to tab through the testcase, the "Browse..." button still appears
to have focus.

Steps to reproduce:
1. Load the testcase in a browser window
2. Hit the tab key 3 times until the "Browse..." button has visual focus
3. Hit the tab key one more time

Actual results:
Both the "Browse..." and "Submit Query" buttons appear to have focus.

Expected results:
I would expect that only the "Submit Query" button appear to have focus.

This was originally found as part of bug 132557.
Summary: input[type="file"] button should release tab focus → input[type="file"] button should release tab focus
I still swear that the unreleased focus is a regression but can't find a nightly
to prove it.

Since Pete was the one to add the tab :focus event, I'd suggest that this be
assigned to him not rod.  Cc him.  Sorry Pete if I'm mistaken.
I'm not seeing this -- in fact, I see no focus indication on the Browse button,
ever.
Brian, what OS and build are you on?  

I am seeing the no focus on tab on Mac OS9.2 with the 05-12 7.0PR1 build.
I can see this problem.
The border of the Browse button will not disappear when it lost the focus.
-->
Assignee: rods → jkeiser
Priority: -- → P1
Target Milestone: --- → Future
This is solved by my patch in bug 176100.
Status: NEW → ASSIGNED
have a fix
Assignee: jkeiser → aaronl
Status: ASSIGNED → NEW
fix checked in, as part of fix for bug 176100.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Reopening this bug.

When you have disabled "File Input" after regular one, then "Browse" button DOES
NOT release Tab focus.

Note: reverse Tab navigation with Shift/Tab keys works perfect.
Regular Tab navigation with Tab key just stops at "Browse" button.

Attaching a testcase.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached file New Testcase
Steps to reproduce:
1. Load the testcase in a browser window
2. Hit the tab key until the first "Browse..." button has visual focus
3. Hit the tab key any number of times.

Actual results:
Nothing happens.

Expected results:
Next "File Input" is disabled hence URL bar should get focus.
this is working fine on 1.4 final branch build on the linux platform.
WFM on Windows Firebird 20030611 too.  Prashant, does it work for you?
Worksforme too (today's trunk build); marking so.
Status: REOPENED → RESOLVED
Closed: 22 years ago21 years ago
Resolution: --- → WORKSFORME
Verified on moz 1.6 and firebird 0.7.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: