Closed Bug 285545 Opened 20 years ago Closed 19 years ago

edit.html.tmpl accesskey / accelerator duplicated, causing improper focus

Categories

(Bugzilla :: User Interface, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: engine, Assigned: Wurblzap)

References

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

There is a bug with the template on the editting a bug page (edit.html.tmpl)
that results in more than one drop down box / form field having the same accesskey.

The result is that when you hit ACC_KEY & [accessletter], a different form field
than expected gets the focus. 

the actual behavior may depend on the browser.  With mozilla, among element with
the same accesskey, I believe the form field that appears later in the page gets
the focus.

This bug comes from a Template bug where an old value of accesskey is being
carried over to the next field.  i can patch it.



Reproducible: Always

Steps to Reproduce:
1. Bring up a bug
2. hit ACCELERATOR-m

Actual Results:  
Version field is focused.

Expected Results:  
component is supposed to be focused

I see this from version 2.19.2, just checked out from CVS yesterday.
Whoops, I forgot to provide a complete list of the fields that had dupe accesskeys:

Version    - taken from Component (accesskey=m)
Severity   - taken from Priority (accesskey= i)
Target 
Milestone  - taken from priority (accesskey = i)
Depends on - taken from priority (accesskey=i)
Reassign Bug - taken from Bug Blocks (accesskey = b)



Confirming! This should be fixed together with bug 281691. Anne, could you
please take this remark into account when fixing the label problem? A solution
is suggested in my "work in progess" patch. Thanks!
Status: UNCONFIRMED → NEW
Depends on: 281691
Ever confirmed: true
OS: MacOS X → All
Hardware: Macintosh → All
Thanks for the confirmation.   I'll look on the other pages for duplicated
accesskeys.
Assignee: myk → wurblzap
Fixed by bug 281691.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.24
You need to log in before you can comment on or make changes to this bug.