Closed Bug 169756 Opened 23 years ago Closed 23 years ago

password fields should be part of tab cycle when textfield-only option is set

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.2beta

People

(Reporter: bugzilla, Assigned: akkzilla)

References

()

Details

(Keywords: regression)

Attachments

(2 files)

found using 2002.09.19.08 comm trunk builds. when the pref "accessibility.tabfocus" is set to 1 (tab only btwn textfields within a page), password fields are left out of the cycle. this is most evident on mac and linux, where the default for that pref is 1. see bug 140612 for details on the pref. 1. go to a page with a username and passwd field, eg, http://calendar-1.mcom.com 2. bring focus to the Name field (need to mouseclick when the pref is 1). 3. try to tab to the Password field. results: the cursor disappears --it doesn't move to the passwd field. btw, if i hit tab a second time, the cursor just reappears in the username field. if i have focus in the passwd field and hit shift-tab instead, however, then focus moves back to the username field --expected, since we're moving into a type=text field.
nominating.
Keywords: nsbeta1
another site: http://my.yahoo.com/
Keywords: regression
see also bug 169767, for application windows being affected.
*** Bug 169776 has been marked as a duplicate of this bug. ***
This one, fortunately, turns out to be much simpler than bug 169767. Simple patch to follow.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2beta
Here's the fix as it sits in my tree. This version of the patch also includes a lot of formatting changes, because it turns out that I checked in the -w version of the previous fix (oops!), so reviewers will probably want to skip this one and review the -w version I'm about to attach.
Here is the minimal version of the patch, with -w, on which I'm seeking review. (It includes one whitespace change, fixing a long line.)
Comment on attachment 99926 [details] [diff] [review] Minimal patch (-w): check for input type=password as well as text r=glazman
Attachment #99926 - Flags: review+
If either Simon or Bryner is around tonight and willing to sr, we could get the password fix in for tomorrow morning's builds ...
Comment on attachment 99926 [details] [diff] [review] Minimal patch (-w): check for input type=password as well as text sr=sfraser
Attachment #99926 - Flags: superreview+
Thanks for the quick reviews! Fix is in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
yay! vrfy'd fixed on mac 10.2 and linux rh7.2, 2002.09.20 mozilla trunk builds.
Status: RESOLVED → VERIFIED
*** Bug 169974 has been marked as a duplicate of this bug. ***
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: