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 25750 - Accessibility problem
Summary: Accessibility problem
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: A11Y
Depends on: 25786
Blocks:
  Show dependency tree
 
Reported: 2002-07-17 16:45 UTC by pfelenda
Modified: 2003-07-01 09:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed patch (3.86 KB, patch)
2002-07-18 18:00 UTC, _ pkuzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pfelenda 2002-07-17 16:45:36 UTC
There is component which is not accessible in
Custimoze Locale 
dialog.

How open this dialog ? 
- In explorer use popup menu from property file
and select customize




This is output from UI Accessibility tester :

===============================================
 Tested Window title : Customizer Dialog
===============================================
Results of Accessibility test
 Doesn't implement Accessible :
   - none.
 No Accessible name :
   - none.
 No Accessible description :
   Class: org.netbeans.core.NbDialog {  Customizer
Dialog |  }
 Label with LABEL_FOR not set :
   - none.
 Components with no LABEL_FOR pointing to it :
   - none.
 Components with no mnemonic :
   Class: javax.swing.JButton {  Close |  Close
button }
 Components not reachable with tab traversal :
   Class: javax.swing.JButton {  Add Locale |  N/A }
   Class: javax.swing.JButton {  Close |  Close
button }
   Class: javax.swing.JButton {  Help |  Help button }
   Class: javax.swing.JList {  Locales: |  List of
locales in this bundle. }
   Class: javax.swing.JTextField {  Name: |  N/A }
Comment 1 pfelenda 2002-07-17 16:46:49 UTC
Added keyword
Comment 2 pfelenda 2002-07-17 17:06:56 UTC
There are more dialogs that are not 100% accessible.


- Customize keys (use popup menu over kye of property file in 
explorer)
- Output from UI tester :
===============================================
 Tested Window title : Customizer Dialog
===============================================
Results of Accessibility test

 No Accessible description :
   Class: org.netbeans.core.NbDialog {  Customizer Dialog |  }

 Components with no mnemonic :
   Class: javax.swing.JButton {  Close |  Close button }

- Dialog Internationalization Wizard (open its from main menu 
Tools|Internationalization|Internationalization Wizard)
- Output from UI tester :
===============================================
 Tested Window title : Internationalization Wizard
===============================================

Results of Accessibility test

 No Accessible name :
   Class: javax.swing.JList {  |  N/A }
   Class: javax.swing.JTextArea {  |  }


 No Accessible description :
   Class: javax.swing.JTextArea {  |  }

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JList {  |  N/A }
   Class: javax.swing.JTextArea {  |  }

- Dialog Internationalization Wizard (open its from main menu 
Tools|Internationalization|Internationalization Wizard, click to next
button )
- Output from UI tester :
===============================================
 Tested Window title : Internationalization Wizard
===============================================

Results of Accessibility test

 No Accessible name :
   Class: javax.swing.JTable {  |  N/A }
   Class: javax.swing.JTextArea {  |  }


 No Accessible description :
   Class: javax.swing.JTextArea {  |  }

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTable {  |  N/A }
   Class: javax.swing.JTextArea {  |  }

- Dialog Internationalization Wizard (open its from main menu 
Tools|Internationalization|Internationalization Test Wizard)
- Output from UI tester :
===============================================
 Tested Window title : Internationalization Test Wizard
===============================================

Results of Accessibility test


 No Accessible name :
   Class: javax.swing.JList {  |  N/A }
   Class: javax.swing.JTextArea {  |  }


 No Accessible description :
   Class: javax.swing.JTextArea {  |  }

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JList {  |  N/A }
   Class: javax.swing.JTextArea {  |  }

- Dialog Internationalization Wizard (open its from main menu 
Tools|Internationalization|Internationalization Test Wizard,
click to button 'Add Source(s)')
- Output from UI tester :
===============================================
 Tested Window title : Select Sources
===============================================

Results of Accessibility test


 No Accessible description :
   Class: javax.swing.JComboBox {  Filesystems: |  }

 Components with no LABEL_FOR pointing to it :
   Class: org.openide.explorer.view.TreeView$ExplorerTree {  Tree View
|  Tree view in file selector }

- Dialog Internationalization Wizard (open its from main menu 
Tools|Internationalization|Internationalization Test Wizard,
click to next button)
- Output from UI tester :
===============================================
 Tested Window title : Internationalization Test Wizard
===============================================

Results of Accessibility test

 No Accessible name :
   Class: javax.swing.JTable {  |  N/A }
   Class: javax.swing.JTextArea {  |  }


 No Accessible description :
   Class: javax.swing.JTextArea {  |  }

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTable {  |  N/A }
   Class: javax.swing.JTextArea {  |  }

- Dialog Internationalization Wizard (open its from main menu 
Tools|Internationalization|Internationalization Test Wizard,
click to next button, click to 'Select All')
- Output from UI tester :

===============================================
 Tested Window title : Select Resource
===============================================

Results of Accessibility test


 No Accessible description :
   Class: javax.swing.JComboBox {  Filesystems: |  }

 Components with no LABEL_FOR pointing to it :
   Class: org.openide.explorer.view.TreeView$ExplorerTree {  Tree View
|  Tree view in file selector }

Comment 3 _ pkuzel 2002-07-18 16:52:37 UTC
First two cases are from properties module (yes, it handles locales,
issue #25788).

Internationalization Wizard:
JTextAreas contain texts that are returned for whole panel A11Y
descriptions. No need to A11Y them again.

Select Sources: 
it is a dialog from openide and it probably cannot be A11Yed (issue
#25786).

I will fix tab traversal issues (that were not detected by the tool).
Comment 4 _ pkuzel 2002-07-18 18:00:53 UTC
Created attachment 6791 [details]
Proposed patch
Comment 5 _ pkuzel 2002-07-18 18:03:29 UTC
Focus traversal fixed by disabling description texts.

Could you please assure it.

Petr could you review it, please?
Comment 6 Peter Zavadsky 2002-07-18 18:28:59 UTC
The patch is safe. Approve. 
(Just a unimportant comment, isn't better to retrieve the color from
UIDefaults/UIManger?)
Comment 7 _ pkuzel 2002-07-21 21:41:45 UTC
Thanks for UIManager, hint.

Unfortunatelly the documentation for getColor(Object key) says "if a Color if passed 
then it is returned". Anyway the text area want to look like multiline label, so  
taking the property from dummy label cannot hurt.


Comment 8 _ pkuzel 2002-07-22 17:52:17 UTC
Integrated into 
relase34 branch.
Comment 9 pfelenda 2002-10-14 14:56:28 UTC
Verified
Comment 10 Quality Engineering 2003-07-01 09:52:57 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.