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 - a11y issues in Code Generation dialog
Summary: a11y issues in Code Generation dialog
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Craig Conover
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2007-07-17 18:16 UTC by Sherry Zhou
Modified: 2007-08-29 16:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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