Closed Bug 148249 Opened 23 years ago Closed 23 years ago

accesskey does not work for <input> or <textarea> fields

Categories

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

x86
Windows 2000
defect

Tracking

()

RESOLVED FIXED
mozilla1.1beta

People

(Reporter: deanis74, Assigned: dbaron)

References

Details

Attachments

(3 files)

You can't set an accesskey for input or textarea fields. It works properly in IE, and according to the w3c it should be supported. From http://www.w3.org/TR/html401/interact/forms.html#adef-accesskey: The following elements support the accesskey attribute: A, AREA, BUTTON, INPUT, LABEL, and LEGEND, and TEXTAREA
worksforme? Both two test cases works well on 1.0RC3/Linux.
-->
Assignee: rods → kin
Huh, maybe this is a windows-only bug? The first test case still fails on Win2K using 2002060308. The second test case is for reference only, showing that the 'B' access key will override the 'B' for the Bookmarks menu.
*** Bug 146323 has been marked as a duplicate of this bug. ***
confirmed using 2002061104 - win98 Accesskeys in buttons and submits doesn't work either; this change was introduced somewhere between 1.0 and 1.1 alpha, I'll go and narrow that down later on. Can bug 149202 be taken as a dupe and be used to change platform and OS to all? (Not sure since it's a Chimera bug and I don't know how many changes there are between Mozilla and Chimera.) Very annoying problem this, as I do a lot of processing information in forms where alt-s submits the form; now I actally have to reach over to the mouse to click something. (Which may not sound so bad, except when you submit information at the rate of two forms a minute...)
It would be great if someone could track down when this broke. WFM in Netscape 7 beta.
-> Jag, any ideas?
Assignee: kin → jaggernaut
-> default owner. Nope, no idea.
Assignee: jaggernaut → rods
I've tracked down the day where this broke. 2002052008 works 2002052108 doesn't work *heads off to bonsai to see if he can identify what changed, though doesn't have much hope of that*
I suspect the patch for bug 96813 to be guilty of this (at least, it's the only one I could find which changes things about accesskeys) - cc'ing dbaron
Attached patch patchSplinter Review
This fixes it. It was a regression from jst's checkin.
Comment on attachment 88506 [details] [diff] [review] patch r=aaronl Ah yeess - I noticed that before as I was working on underlining HTML accesskey. Thought it was strange at the time, should have reported it.
Attachment #88506 - Flags: review+
Taking.
Assignee: rods → dbaron
Priority: -- → P1
Target Milestone: --- → mozilla1.1beta
Comment on attachment 88506 [details] [diff] [review] patch sr=jst
Attachment #88506 - Flags: superreview+
Fix checked in 2002-06-20 13:44 PDT.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*blinks* woaw, that was fast. :) I didn't narrow my bonsai search down beyond simply the two days as I had no idea which components use which timezones. I'm now assuming both bonsai and the buildid are GMT?
No, they're both PDT (GMT-0700) or PST (GMT-0800), depending on the season.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: