Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6500705

The JColorChooser does not seem to have the Accessibility Properties Set

XMLWordPrintable

      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.

            shickeysunw Shannon Hickey (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: