JDK-6500705 : The JColorChooser does not seem to have the Accessibility Properties Set
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-12-05
  • Updated: 2011-02-16
  • Resolved: 2006-12-05
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :


ADDITIONAL OS VERSION INFORMATION :
WIndows XP, actually this is on all operating systems.

A DESCRIPTION OF THE PROBLEM :
We use a NetBeans Accessibility tool to test if the accessibility name and description are set correctly.  When we tested the JColorChooser, we get the following problems.

Results of Accessibility test, window with title ""
 Label with LABEL_FOR not set :
   Class: javax.swing.JLabel {   |  }
   Class: javax.swing.JLabel {  B |  }
   Class: javax.swing.JLabel {  G |  }
   Class: javax.swing.JLabel {  R |  }
   Class: javax.swing.colorchooser.DefaultHSBChooserPanel$3 {   |  }
 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JFormattedTextField {  |  }
   Class: javax.swing.JTabbedPane {  |  }
   Class: javax.swing.JTextField {  |  }
 Components with no mnemonic :
   Class: javax.swing.JRadioButton {  B |  }
   Class: javax.swing.JRadioButton {  H |  }
   Class: javax.swing.JRadioButton {  S |  }
 Components not reachable with tab traversal :
   Class: javax.swing.JColorChooser {  |  }
   Class: javax.swing.JLabel {  Recent: |  }
   Class: javax.swing.JLayeredPane {  |  }
   Class: javax.swing.JPanel {  Preview |  }
   Class: javax.swing.JPanel {  |  }
   Class: javax.swing.JRootPane {  |  }
   Class: javax.swing.colorchooser.DefaultPreviewPanel {  |  }
   Class: javax.swing.colorchooser.DefaultSwatchChooserPanel {  |  }

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I think this was explained in the Description.  Contact me if you have more questions.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
All of the accessibilty name and descriptions should be present.
ACTUAL -
Results of Accessibility test, window with title ""
 Label with LABEL_FOR not set :
   Class: javax.swing.JLabel {   |  }
   Class: javax.swing.JLabel {  B |  }
   Class: javax.swing.JLabel {  G |  }
   Class: javax.swing.JLabel {  R |  }
   Class: javax.swing.colorchooser.DefaultHSBChooserPanel$3 {   |  }
 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JFormattedTextField {  |  }
   Class: javax.swing.JTabbedPane {  |  }
   Class: javax.swing.JTextField {  |  }
 Components with no mnemonic :
   Class: javax.swing.JRadioButton {  B |  }
   Class: javax.swing.JRadioButton {  H |  }
   Class: javax.swing.JRadioButton {  S |  }
 Components not reachable with tab traversal :
   Class: javax.swing.JColorChooser {  |  }
   Class: javax.swing.JLabel {  Recent: |  }
   Class: javax.swing.JLayeredPane {  |  }
   Class: javax.swing.JPanel {  Preview |  }
   Class: javax.swing.JPanel {  |  }
   Class: javax.swing.JRootPane {  |  }
   Class: javax.swing.colorchooser.DefaultPreviewPanel {  |  }
   Class: javax.swing.colorchooser.DefaultSwatchChooserPanel {  |  }

REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION JColorChooser accessibility problems are covered under 4631925.
05-12-2006