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.
steps: 1. open design center 2. create two projects in the center 3. add several packages to these projects 4. create java platform uml project 5. add class diagram 6. add design pattern 7. invoke 'Promote Design Pattern' from context of the pattern 8. move focus to some button with TAB order 9. press ALT you'll see both comboboxes have mnemonics 10. try to access comboboxes with mnemonics attempt fails
seems because no LabelFor is set for 'Project:' and 'Namespace:' labels
I didn't use accessibility tool during testing of the dialog, I'll recheck tomorrow, may be there are some more a11y issues.
yeah, there are more a11y issues in this small dialog, the font style and size are hardcoded
"Fonts are hardcoded" should lead to P2 Ok, tool says about some more issues, but say nothing about label for, may be my assumption was wrong. No Accessible name : Class: javax.swing.JComboBox { | } Class: javax.swing.JComboBox { | } No Accessible description : Class: javax.swing.JButton { Cancel | } Class: javax.swing.JButton { OK | } Class: javax.swing.JCheckBox { Remove from current project | } Class: javax.swing.JComboBox { | } Class: javax.swing.JComboBox { | } Class: org.netbeans.modules.uml.designpattern.PromoteDialogUI { Promote Pattern to Design Center | } looks like dialog have no accessible description and according to "P1:Missing: accessible description or name, mnemonic for a major component (window, dialog box or main menu)" correct me if I'm wrong, updating to P1 I can also file separate issues for all a11y issues, and revert initial description to this one
re-wrote the UI part and retained most of action logic to address a11y issues.
reopened because there is no accessible description for dialog (dialog now NbDialog)
I thought missing accessibility description is not a bug as long as the component has a descriptive accessibility name, isn't that the case here? But, added description anyway.
verified with 061112_2