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 83292 - A11Y: Diagram.Font Color window - missing a11y features
Summary: A11Y: Diagram.Font Color window - missing a11y features
Status: RESOLVED WONTFIX
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2006-08-23 15:23 UTC by bugbridge
Modified: 2006-11-20 23:23 UTC (History)
1 user (show)

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 bugbridge 2006-08-23 15:23:41 UTC
Description:
Buzz build 15

Steps to reproduce:

- create new UMLProject --> add Diagram
- open Modeling Palette --> open Diagram
- open Popup menu and choose Class Role (Interface) -->Font Color.

Window with font color chooser appears.
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 {  |  }
Comment 1 Trey Spiva 2006-11-10 17:34:02 UTC
This dialog is the standard Java dialog.  So, I do not know if we are going to be able modifiy this dialog.
Comment 2 Trey Spiva 2006-11-10 17:58:00 UTC
I have also noticed that NetBeans uses the same control in the Form Editor.  They also have the same 
problems.
Comment 3 Sergey Petrov 2006-11-16 12:58:39 UTC
As I understand only color chooser is standard,dialog contains chooser and other
element, and I can't find same dialog for gui builder, I see only more advanced one.
Comment 4 Sergey Petrov 2006-11-16 13:13:31 UTC
ok, may be it was in java, but I can't find it now :)
Comment 5 Sergey Petrov 2006-11-16 13:51:04 UTC
sorry, seems I was wrong about dialog because I found no direct way to access it,
but nb5.0 use another dialog without most a11y issues and we should use another
too if  we can't update current.
Comment 6 Trey Spiva 2006-11-16 14:04:31 UTC
NetBeans is using the same component that we are using.  They are just embedding
the component into a NetBeans dialog.  The java color chooser dialog also allows
you to add additional tabs.  NetBeans has taken advangae of the fact to add the
Swing, system, and AWT palettes.  So, basically fix the Java one, fix both the
form editor and the UML tool.
Comment 7 Sergey Petrov 2006-11-16 14:21:54 UTC
At least look and a11y issues are different in uml and in netbeans dialogs, if
to fix issues we should embed it into another dialog it's better to do embedding.
Comment 8 Trey Spiva 2006-11-16 14:36:58 UTC
I do not know what you are asking for, you are wanting us to embed the Java
color chooser component into another dialog.  I do not know what that would solve.
Comment 9 Sergey Petrov 2006-11-16 14:59:35 UTC
ok, 
- I don't know realization but dialogs are different and netbeans color dialog
has better a11y
- Because I don't know realization my suggessions may be wrong
- You said "They are just embedding
the component into a NetBeans dialog.", I thought you say about ColorChooser.
Comment 10 Trey Spiva 2006-11-16 15:20:26 UTC
We can not use the NetBeans Form Editor color dialog, because the component is
just embedded into the standard bean property editor dialog.  It would not make
sense for us to use that dialog.

The best solution is to get Java to fix the JColorChooser.
Comment 11 Andrew Korostelev 2006-11-16 16:09:35 UTC
You are right - we should request fix from java team.

But while this is not done, we should use the same way as NB and 
create our own dialog with embedded javax.swing.JColorChooser and 
A11y features like:
- existing title (issue 89454)
- accessibility description for dialog

Comment 12 Trey Spiva 2006-11-16 16:20:48 UTC
I believe that we can take care of those with out fixes from the Java Team. 
Comment 13 Trey Spiva 2006-11-20 23:23:35 UTC
When the JDK fixes this issue, this will be fixed.