Open Bug 544903 Opened 15 years ago Updated 2 years ago

On some forms, return and enter get misprocessed after selecting an item in choice menu


(Firefox :: Keyboard Navigation, defect)






(Reporter: mvolaski, Unassigned)


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv: Gecko/20091221 Firefox/3.5.7
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv: Gecko/20091221 Firefox/3.5.7

Firefox saves information for use in certain form fields, such as street address. When entering the first character of an address, Firefox presents the saved choices in a dropdown menu. One can select a choice by clicking it with the mouse or use the arrow keys and return or enter. However, on certain forms return or enter are erroneously sent to the form's default button causing it to reject the information and to reject processing the form, which is incomplete.

Reproducible: Sometimes

Steps to Reproduce:
Most forms are work fine and are not affected. An example of one that is is the Alzheimer organization donation form, To test this bug, one must have address information saved in Firefox. Attempt to type a character into a field that presents a dropdown menu, select a choice with the arrow key and type enter or return. 
Actual Results:  
The choice will be rejected and the form will attempt submission.

Expected Results:  
The choice should be accepted and form should allow continued entry without rejection.

Safari 4.0.3 on OSX works properly for the tested form.
Always reproducible for me and has been a really annoying bug whenever I use keyboard to select.
This happens when form traps keydown event and checks for "enter" key being pressed

Still present in Fx 21
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.