Ctrl-u in input text field triggers accesskey instead of clearing the field

UNCONFIRMED
Unassigned

Status

()

Core
Event Handling
UNCONFIRMED
7 years ago
5 years ago

People

(Reporter: Vincent Lefevre, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: DUPEME, URL)

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-GB; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-GB; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2

On pages that have accesskey="u", Ctrl-u in input text field triggers accesskey instead of clearing the field as usual.

Reproducible: Always

Steps to Reproduce:
1. Open https://bugzilla.mozilla.org/query.cgi
2. Type something for the summary.
3. Type Ctrl-u.
Actual Results:  
The focus goes to the input text field for "The URL".

Expected Results:  
The current input text field should be cleared.
I believe this is the general behavior of in-page accesskeys.  They override all other shortcuts bound to the same modifiers....  The problem is that most people have no idea the Ctrl-u shortcut even exists on Mac textfields, and would be very surprised if it got triggered when they're just trying to trigger an accesskey.
Whiteboard: DUPEME
(Reporter)

Comment 2

7 years ago
They would learn the Ctrl-u shortcut at this time...

The best solution would be to avoid this clash by choosing a different modifier for accesskeys. Otherwise this could be controlled by options.
(Reporter)

Comment 3

5 years ago
Note: the page has changed, so that this bug is no longer triggered by this page.
(Reporter)

Comment 4

5 years ago
The problem of keys overridden by other uses is also mentioned in bug 276295 (this one for FAYT).
Depends on: 728103
You need to log in before you can comment on or make changes to this bug.