Bug 458273 - <Tab> key selects the "Need info" checkbox when adding comments
Summary: <Tab> key selects the "Need info" checkbox when adding comments
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: User Interface
Version: 3.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: PnT DevOps Devs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-07 12:56 UTC by Alexander Todorov
Modified: 2013-06-24 02:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-08 18:19:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Alexander Todorov 2008-08-07 12:56:17 UTC
Description of problem:
When adding comments sometimes people use the <Tab> key to navigate to the submit button. This will go throught the need info checkbox which is right after the text entry field and will make it selected.

Version-Release number of selected component (if applicable):
3.2

How reproducible:
Always

Steps to Reproduce:
1. Focus the add comment text entry field
2. Navigate with <Tab> to the submit button

  
Actual results:
Need info checkbox is selected /and will change bug state also I guess/

Expected results:
Need info checkbox is not selected. It should be only selected when the user decides to do so, i.e. presses the <space> key

Additional info:
I think this is a regression against the previous version because it changes behavior and will cause many bugs to go into wrong state

Comment 1 Alexander Todorov 2008-08-07 12:57:35 UTC
The checkbox is selected after the focus moves to the "need info from" drop-down list.

Comment 2 David Lawrence 2008-08-08 18:19:37 UTC
This is because I was using onfocus for the javascript that automatically checks the box when the drop down or text field for needinfo info was focused. I have now changed it to onchange will will not automatically check the needinfo checkbox by simply tabbing across it. You will now have to choose a value from the drop down or type some text in the other field.

Committed and should show up in the next update.

Dave


Note You need to log in before you can comment on or make changes to this bug.