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 110049

Summary: a11y issues in Code Generation dialog
Product: uml Reporter: Sherry Zhou <sherryzhou>
Component: Code GenerationAssignee: Craig Conover <conover>
Status: VERIFIED FIXED    
Severity: blocker Keywords: A11Y
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Sherry Zhou 2007-07-17 18:16:31 UTC
build 070717

Run a11y tool on Code Generation dialog(http://a11y.netbeans.org/Instructions.html)
It reports the following problems:
  - There are no mnemonic for the checkboxes in the template
  - Most checkboxes have no accessible description.
  - textarea has no accessible name and label_for



Results of Accessibility test, window with title "Generate Code"


 Doesn't implement Accessible :
   - none.

 No Accessible name :
   Class: org.netbeans.modules.uml.codegen.ui.customizer.TemplateEntry$DescriptionTextArea {  |  } 
   Class: org.netbeans.modules.uml.codegen.ui.customizer.TemplateEntry$DescriptionTextArea {  |  } 
   Class: org.netbeans.modules.uml.codegen.ui.customizer.TemplateEntry$DescriptionTextArea {  |  } 


 No Accessible description :
   Class: javax.swing.JCheckBox {  Add Merge Markers to Existing Source Elements |  } 
   Class: javax.swing.JCheckBox {  Basic Class |  } 
   Class: javax.swing.JCheckBox {  Basic Enumeration |  } 
   Class: javax.swing.JCheckBox {  Basic Interface |  } 
   Class: javax.swing.JCheckBox {  Generate Markers for Source File Merging |  } 
   Class: javax.swing.JCheckBox {  Prompt Before Generating Code |  } 
   Class: org.netbeans.modules.uml.codegen.ui.customizer.TemplateEntry$DescriptionTextArea {  |  } 
   Class: org.netbeans.modules.uml.codegen.ui.customizer.TemplateEntry$DescriptionTextArea {  |  } 
   Class: org.netbeans.modules.uml.codegen.ui.customizer.TemplateEntry$DescriptionTextArea {  |  } 


 Label with LABEL_FOR not set :
   Class: javax.swing.JLabel {  Java |   } 


 Components with no LABEL_FOR pointing to it :
   Class: org.netbeans.modules.uml.codegen.ui.customizer.TemplateEntry$DescriptionTextArea {  |  } 
   Class: org.netbeans.modules.uml.codegen.ui.customizer.TemplateEntry$DescriptionTextArea {  |  } 
   Class: org.netbeans.modules.uml.codegen.ui.customizer.TemplateEntry$DescriptionTextArea {  |  } 


 Components with no mnemonic :
   Class: javax.swing.JCheckBox {  Basic Class |  } 
   Class: javax.swing.JCheckBox {  Basic Enumeration |  } 
   Class: javax.swing.JCheckBox {  Basic Interface |  } 


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

 Components not reachable with tab traversal :
   - none.
Comment 1 Craig Conover 2007-07-21 03:28:05 UTC
- The check boxes are in a dynamic JTree and therefore are not capable of having mnemonics or accessible names/descriptions.
- Text areas are also part of the dynamic JTree and are not edible either.
- All other fields have been uddated with proper A11Y requirements.
Comment 2 Sherry Zhou 2007-08-29 16:34:13 UTC
verified in 0828 build