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.
Components with no mnemonic : Class: javax.swing.JButton { OK | OK button }
Over to you, John
I guess changing the subcomponent didn't actually reassign the issue
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. }
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. }
Another issue that the A11y results seem to be incorrect. The components have mnemonics but the bundle file is located in a different package.
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.
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.
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.
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
Fixed.
Verified.