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 80743 - A11Y: issues in Promote Pattern dialogs
Summary: A11Y: issues in Promote Pattern dialogs
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Design Center (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Yang Su
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2006-07-20 17:02 UTC by Sergey Petrov
Modified: 2006-11-13 14:07 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 Sergey Petrov 2006-07-20 17:02:10 UTC
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
Comment 1 Sergey Petrov 2006-08-02 11:45:31 UTC
seems because no LabelFor is set for 'Project:' and 'Namespace:' labels
Comment 2 Sergey Petrov 2006-10-30 22:43:57 UTC
I didn't use accessibility tool during testing of the dialog, I'll recheck
tomorrow, may be there are some more a11y issues.
Comment 3 Yang Su 2006-10-31 00:14:11 UTC
yeah, there are more a11y issues in this small dialog, the font style and size
are hardcoded
Comment 4 Sergey Petrov 2006-10-31 12:15:31 UTC
"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
Comment 5 Yang Su 2006-11-02 01:55:05 UTC
re-wrote the UI part and retained most of action logic to address a11y issues.
Comment 6 Sergey Petrov 2006-11-08 16:21:19 UTC
reopened because there is no accessible description for dialog
(dialog now NbDialog)
Comment 7 Yang Su 2006-11-08 17:19:37 UTC
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. 
Comment 8 Sergey Petrov 2006-11-13 14:07:48 UTC
verified with 061112_2