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 110860

Summary: [a11y] Create New Port Type
Product: xml Reporter: srinivaschintalapati <srinivaschintalapati>
Component: WSDL ToolsAssignee: Shivanand Kini <skini>
Status: CLOSED FIXED    
Severity: blocker Keywords: A11Y
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description srinivaschintalapati 2007-07-25 05:16:13 UTC
Components not reachable with tab traversal 
Build#
Product Version: NetBeans IDE Dev (Build 200707221200) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: 
Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and 
Settings\schintalapati\.netbeans\dev

Steps to Reproduce:
goto FileBC WSDL right click on Port types
Select Add port type 
run Accessibitiy tool on create new port type

Observation:

<HTML><HEAD>
<TITLE>Output from UIAccessibilityTester for window with title : Create New Port Type </TITLE>
</HEAD>
<BODY>
<PRE>
Results of Accessibility test, window with title "Create New Port Type"


 Doesn't implement Accessible :
   - none.

 No Accessible name :
   Class: javax.swing.JTable {  |  } 
   Class: javax.swing.JTable {  |  } 
   Class: javax.swing.JTable {  |  } 


 No Accessible description :
   Class: javax.swing.JButton {  Add |  } 
   Class: javax.swing.JButton {  Add |  } 
   Class: javax.swing.JButton {  Add |  } 
   Class: javax.swing.JComboBox {  Operation Type: |  } 
   Class: javax.swing.JTable {  |  } 
   Class: javax.swing.JTable {  |  } 
   Class: javax.swing.JTable {  |  } 
   Class: javax.swing.JTextField {  Operation Name: |  } 
   Class: javax.swing.JTextField {  Port Type Name: |  } 
   Class: org.netbeans.core.windows.services.NbDialog {  Create New Port Type |  } 


 Label with LABEL_FOR not set :
   - none.

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTable {  |  } 
   Class: javax.swing.JTable {  |  } 
   Class: javax.swing.JTable {  |  } 


 Components with no mnemonic :
   Class: javax.swing.JButton {  Add |  } 
   Class: javax.swing.JButton {  Add |  } 
   Class: javax.swing.JButton {  Add |  } 


 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain mnemonic):
   - none.

 Components not reachable with tab traversal :
   Class: javax.swing.JButton {  Add |  } 
   Class: javax.swing.JButton {  Add |  } 
   Class: javax.swing.JButton {  Cancel |  Cancel button } 
   Class: javax.swing.JButton {  Help |  Help button } 
   Class: javax.swing.JButton {  OK |  OK button } 
   Class: javax.swing.JTable {  |  } 
   Class: javax.swing.JTable {  |  } 
   Class: javax.swing.plaf.basic.BasicComboBoxEditor$BorderlessTextField {  |  } 
   Class: javax.swing.plaf.basic.BasicComboBoxEditor$BorderlessTextField {  |  } 

</PRE>
</BODY>
</HTML>
Comment 1 Sherry Weng 2007-10-26 18:58:00 UTC
Not a binding component issue, reassigning this to WSDL editor to be evaluated.
Comment 2 Shivanand Kini 2007-10-30 02:33:28 UTC
Added accessible descriptions for text boxes, buttons and labels. 
Not needed for JTable. Table does not need label for. When mnemonics on the labels are used, it indirectly focuses the
table. So functionality wise, its ok.

Add button already has mnemonics.
Comment 3 jlautz 2008-04-08 02:29:51 UTC
Based on 
Product Version: NetBeans IDE Dev (Build 200804040802) - Java CAPS Enabled
Java: 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
System: SunOS version 5.10 running on x86; ISO646-US; en (nb)
Userdir: /Users/lautz/sierrabuilds/JavaCAPS20080406/.netbeans/caps

There are problems with the Add mnemonics, which I have logged as issue 132277.

The a11y tool generates the following messages, but I can tab (or Ctrl-tab) through all the fields and buttons.

 Components not reachable with tab traversal :
   Class: javax.swing.JButton {  Add |  Adds a new part. }
   Class: javax.swing.JButton {  Add |  Adds a new part. }
   Class: javax.swing.JButton {  Cancel |  Cancel button }
   Class: javax.swing.JButton {  Help |  Help button }
   Class: javax.swing.JButton {  OK |  OK button }
   Class: javax.swing.JCheckBox {  Generate partnerlinktype automatically. |  Generates a partnerlinktype extensibility
element with a role with this port type. }
   Class: javax.swing.JTable {  |  }
   Class: javax.swing.JTable {  |  }
   Class: javax.swing.plaf.metal.MetalComboBoxEditor$1 {  |  }
   Class: javax.swing.plaf.metal.MetalComboBoxEditor$1 {  |  }
Comment 4 srinivaschintalapati 2008-10-22 08:04:37 UTC
verified and working fine.