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 135065 - A11Y: Component with no mnemonic in "New JDBC Driver" dialog
Summary: A11Y: Component with no mnemonic in "New JDBC Driver" dialog
Status: VERIFIED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: a11y (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: John Baker
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2008-05-14 16:34 UTC by Roman Mostyka
Modified: 2008-08-29 11:51 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 Roman Mostyka 2008-05-14 16:34:05 UTC
Components with no mnemonic :
  Class: javax.swing.JButton {  OK |  OK button }
Comment 1 David Vancouvering 2008-08-15 20:48:52 UTC
Over to you, John
Comment 2 David Vancouvering 2008-08-19 01:16:26 UTC
I guess changing the subcomponent didn't actually reassign the issue
Comment 3 John Baker 2008-08-21 07:59:36 UTC
The A11Y report looks incorrect.  This is the result I see:

Components with no mnemonic :
   Class: javax.swing.JButton {  Add... |  Add driver file. } 
   Class: javax.swing.JButton {  Find |  Remove driver file. } 
   Class: javax.swing.JButton {  Remove |  Find driver class. } 
Comment 4 Roman Mostyka 2008-08-21 18:05:26 UTC
Yes, now it looks different. On Mac OS X:
Components with no mnemonic :
   Class: javax.swing.JButton {  Add... |  Add driver file. }
   Class: javax.swing.JButton {  Find |  Remove driver file. }
   Class: javax.swing.JButton {  Remove |  Find driver class. }
   Class: javax.swing.JLabel {  Driver File(s): |  Driver files. }
   Class: javax.swing.JLabel {  Name: |  Name of the driver. }
Comment 5 John Baker 2008-08-26 01:15:25 UTC
Another issue that the A11y results seem to be incorrect.

The components have mnemonics but the bundle file is located in a different package.
Comment 6 Roman Mostyka 2008-08-26 12:58:38 UTC
I don't see this issues on Windows anymore, but see it on Mac OS X. If accessibility on Mac OS X is different, then this
issue can be closed as FIXED. If not, then platform and os should be changed and issue must be fixed.
Comment 7 John Baker 2008-08-29 01:15:19 UTC
Either there's an Apple JDK bug or bug in the Mnemonics class.

On Windows, here's the result:

===============================================
 Tested Window title : New JDBC Driver
===============================================
Results of Accessibility test
 Doesn't implement Accessible :
   - none.
 No Accessible name :
   - none.
 No Accessible description :
   - none.
 Label with LABEL_FOR not set :
   - none.
 Components with no LABEL_FOR pointing to it :
   - none.
 Components with no mnemonic :
   - none.
 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain mnemonic):
   - none.
 Components not reachable with tab traversal :
   - none.
Comment 8 Jaromir Uhrik 2008-08-29 07:58:12 UTC
In the world of Mac there are no mnemonics so that it is all right that the report contains missing mnemonics on Mac OS.
Please do not use Mac OS X when testing the accessibility with the NetBeans a11y-tester tool. I am going to file bug
that the tester-tool should inform about that when running on Mac.
Comment 9 Jaromir Uhrik 2008-08-29 08:16:13 UTC
One more comment related to the OK button:
If the OK button is the default button then no mnemonic should be assigned to it - see details about this topic in
paragraph "Default Command Buttons" of the following link http://java.sun.com/products/jlf/ed2/book/HIG.Dialogs2.html#48694
Comment 10 Roman Mostyka 2008-08-29 11:48:16 UTC
Fixed.
Comment 11 Roman Mostyka 2008-08-29 11:51:09 UTC
Verified.