This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 35213

Summary: a11y: wrong initial focus in the Setup Wizard dialog
Product: platform Reporter: bnv <bnv>
Component: Dialogs&WizardsAssignee: Milos Kleint <mkleint>
Status: VERIFIED FIXED    
Severity: blocker CC: bnv, ccv, jrechtacek, mbudris, mmirilovic, vgorr
Priority: P4 Keywords: A11Y
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description bnv 2003-07-31 08:49:10 UTC
Product Version: Sun ONE Studio, Native Edition
(Build 15)
IDE Versioning:   IDE/1 spec=3.42.1  
OS: 	         SunOS version 5.8
Java; VM; Vendor = 1.4.1_02; Java HotSpot(TM)
Client VM 1.4.1_02-b06; Sun Microsystems Inc.

1. Tools/Setup Wizard
2. Select 'Module Installation' page with keyboard

Initial focus is on the 'Next' button, it is
wrong, focus should be in the TreeTable.
Per the Java Look & Feel Design Guidelines: "When
opening a dialog
box, provide initial keyboard focus to the
component that you expect
users to operate first. This focus is especially
important for users
who must use a keyboard to navigate your application."
Please see
http://webwork.sfbay/products/jlf/ed2/book/index.html

3. push ALT-C

There is no focus in the TreeTable. Need to push
the Tab key  and after that focus is on the TreeTable.
Comment 1 Marian Mirilovic 2003-07-31 09:08:09 UTC
As I know, it's hard to transfer focus to the panel, because wizard
framework doesn't know which panel will be inside, and only one panel
about what knows is the panel with buttons on the bottom, so this is
the reason for focusing Next button, because in the time of wizards
creation, button is the first focusable component...

Am I right, Jirka ?

Comment 2 jrojcek 2003-07-31 10:43:17 UTC
The bug description is correct. In the setup wizard, the tree table
should have the keyboard focus by default. It should be fixed.
Comment 3 Jiri Rechtacek 2003-07-31 17:25:03 UTC
Dafe, please look after on it in conjuction with rest A11Y issues
presently assigned to you. Thanks
Comment 4 Milos Kleint 2004-03-03 10:51:56 UTC
reassigning
Comment 5 Milos Kleint 2004-03-04 10:00:15 UTC
it seems it's not only limited to the SetupWizard.
when creating new jarrecipe, using keyboard only, one gets the same
problem. Probably a generic problem with wizards?
Comment 6 Milos Kleint 2004-03-05 14:26:22 UTC
fixed in trunk.
A general fix added to WizardDescriptor and component ordering changed
in the ModuleSelectionPanel of the SetupWizard.
Comment 7 Marian Mirilovic 2004-03-19 14:44:40 UTC
verified in [promo-d](200403161900)