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 70756

Summary: A11Y : Add Method dialog is missing A11Y features
Product: java Reporter: _ sandipchitale <sandipchitale>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker CC: mbudris
Priority: P3 Keywords: A11Y
Version: 4.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description _ sandipchitale 2005-12-23 00:20:35 UTC
Results of Accessibility test, window with title "Add New Method"

 No Accessible name :
   Class: javax.swing.JTabbedPane {  |  } 
 No Accessible description :
   Class: javax.swing.JTabbedPane {  |  } 
 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTabbedPane {  |  } 
 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain 
mnemonic):
   Class: javax.swing.JCheckBox {  abstract |  N/A } 
   Class: javax.swing.JCheckBox {  final |  N/A } 
   Class: javax.swing.JCheckBox {  native |  N/A } 
   Class: javax.swing.JCheckBox {  static |  N/A } 
   Class: javax.swing.JCheckBox {  synchronized |  N/A } 
 Components with potential mnemonics conflict:
 - components with mnemonic '?' :
   Class: javax.swing.JCheckBox {  abstract |  N/A } 
   Class: javax.swing.JCheckBox {  final |  N/A } 
   Class: javax.swing.JCheckBox {  native |  N/A } 
   Class: javax.swing.JCheckBox {  static |  N/A } 
   Class: javax.swing.JCheckBox {  synchronized |  N/A }
Comment 1 Pavel Flaska 2005-12-23 09:13:23 UTC
Sandip, the first part of error, i.e.

No Accessible name :
   Class: javax.swing.JTabbedPane {  |  } 
 No Accessible description :
   Class: javax.swing.JTabbedPane {  |  } 
 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTabbedPane {  |  } 

is a11y tool confusion.

Tabbed pane doesn't need acessible name and description, if you traverse
through the components, first tab in tabbed pane is focused and is accessible.
(Similar issue was solved for constructors recently, see issue #61096.)

Second part with wrong mnemonic is something what I do not understand. In our
trunk build, you can use mnemonics, so I do not see wrong mnemonic.

The mnemonic keys are defined in
java/src/org/netbeans/modules/java/ui/nodes/editors/Bundle.properties
java/src/org/netbeans/modules/java/ui/nodes/editors/Modifier.java

and they seem to be correct. (Only what I see is difference in case which is
unimportant IMO.)

Could you, please, check that the Bundle and Modifier class are the same? (In
case your sources aren't the same like trunk sources.)
Comment 2 Jan Becicka 2007-08-24 08:13:59 UTC
Add method dialog removed.
Comment 3 Quality Engineering 2007-09-20 10:49:13 UTC
Reorganization of java component