Closed Bug 54887 Opened 24 years ago Closed 24 years ago

[RFE]focus put by default on a form field instead page

Categories

(Core :: DOM: UI Events & Focus Handling, enhancement, P3)

x86
Linux
enhancement

Tracking

()

VERIFIED INVALID

People

(Reporter: cyril.elkaim, Assigned: joki)

References

(Blocks 1 open bug, )

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.14-5.0 i686; en-US; m18) Gecko/20000928 BuildID: 2000092808 This is not a real bug but I think it should be better that the focus goes on the main page of an url instead going directly to the first visible editable field of that page. One must click on the page before being able to scroll it. Reproducible: Always Steps to Reproduce: go on an url with editable fields, this very one is a good sample :-) Actual Results: focus put on the first editable field of the page Expected Results: focus should be on the page itself
For me the focus gets to the page, not editable field. WFM win98SE 2000100120-M18
I'm pretty sure this is a duplicate. I will try to find the original.
I've looked pretty hard for this and still haven't found the dup that asa mentioned (though I have seen some similar bugs. Noting as RFE and confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: focus put by default on a form field instead page → [RFE]focus put by default on a form field instead page
if this is confirmed then it belongs in event handling and not browser general.
Assignee: asa → joki
Component: Browser-General → Event Handling
QA Contact: doronr → lorca
See bug 55416 for a raft of other focus issues (I don't think this bug is a dup of any of those either), and bug 31809 (where I specced focus behavior). This bug should probably go to saari@netscape.com too.
Blocks: 55416
cyril.elkaim@free.fr, what pages does this happen on? Some pages, such as http://bugzilla.mozilla.org/ and http://www.google.com/, use JavaScript to put focus in a search field to make their sites easier to use.
I don't believe that we have any features that automatically set focus to a page's first edit field. For lack of a test url I'm going to assume that the page the user visited used JS to set the focus and mark this INVALID.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
VERIFIED. Seems like something that could easily be solved by some JS (per comments). I think it could cause more problems than it would solve (i.e scrolling and focus having to be on main page, etc.).
Status: RESOLVED → VERIFIED
[RFE] is deprecated in favor of severity: enhancement. They have the same meaning.
Severity: normal → enhancement
QA Contact: bugzilla → gerardok
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.