Closed
Bug 163030
Opened 23 years ago
Closed 12 years ago
document.captureEvents captures keyboard navigation keypresses.
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: scottj, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: access)
Attachments
(1 file, 1 obsolete file)
1019 bytes,
text/html
|
Details |
This page features two text boxes, one above the other. The first box is in a
form all its own. If I type text into this box and press enter, the focus moves
to the next box courtesy of the underlying javascript. I cannot, however, tab
between these two boxes. While I'm sure this behavior makes sense
programmatically, it makes zero sense from the perspective of the user. The
user who doesn't view the source simply sees two text boxes. He puts the cursor
in the first and cannot tab to the second.
Reporter | ||
Comment 1•23 years ago
|
||
This file shows two text boxes in table cells very similar to the layout of the
problem page but DOES NOT exhibit the same behavior.
Comment 2•23 years ago
|
||
Confirming on 2002080718-trunk (Win32).
Changing summary from:
Can't tab between elements on separate forms
to:
document.captureEvents captures keyboard navigation keypresses.
The referenced page is using document.captureEvents to restrict the characters
allowed in certain text fields to alphanumeric characters only. In IE, this
behaviour works as expected, and TAB still moves between fields.
In Mozilla, *every* non-meta keypress is sent to the document's onkeypress
handler, including (for example) TAB, F5 (reload), and Alt-Left (back).
This effectively breaks most keyboard navigation.
Most Ctrl and Alt keys work, so Alt-F4, Alt-F, and Ctrl-R all work, but Alt-
Left is disabled, meaning you can't navigate back or forward using the
keyboard, either.
This can't be right.
-> event handling
Example testcase to follow.
Assignee: alexsavulov → joki
Status: UNCONFIRMED → NEW
Component: Form Submission → Event Handling
Ever confirmed: true
QA Contact: vladimire → rakeshmishra
Summary: Can't tab between elements on separate forms → document.captureEvents captures keyboard navigation keypresses.
Comment 3•23 years ago
|
||
After loading this testcase, you will not be able to TAB between fields, use F5
to reload the page, or Alt-Left to return to this bug report.
Attachment #95557 -
Attachment is obsolete: true
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
Comment 4•22 years ago
|
||
*** Bug 148938 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 6•19 years ago
|
||
Is this bug completely dead? Over 3 years, and it is still marked as NEW? As stated above in comment #2, this effectively breaks most keyboard navigation.
Updated•15 years ago
|
QA Contact: trix → events
Updated•14 years ago
|
Assignee: matspal → nobody
Comment 7•12 years ago
|
||
captureEvent has been already dropped.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•