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 127942 - Accessibility problems in Create Shortcut wizard
Summary: Accessibility problems in Create Shortcut wizard
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2008-02-20 20:50 UTC by Jaromir Uhrik
Modified: 2008-02-27 14:25 UTC (History)
0 users

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 Jaromir Uhrik 2008-02-20 20:50:20 UTC
Product Version: NetBeans IDE Dev (Build 20080219062323)
Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

-Select a subnode of build.xml in Files view and in popup menu select Create Shortcut item
-Steps 2 and 3 in Wizard need to set up some accessibility properties. The output of the a11y-tester for the 2nd panel
is following:
-------------------------------------%<------------------------------------
No Accessible description :
 Class javax.swing.JButton { < Back | } 
 Class javax.swing.JButton { Next > | } 
 Class javax.swing.JTextField { Select a menu item name: | } 
Components with no LABEL_FOR pointing to it :
 Class javax.swing.JList { Select destination for shortcut | N/A } 
Components with no mnemonic :
 Class javax.swing.JLabel { Select a menu item name: | } 
-------------------------------------%<------------------------------------
Following should be fixed:
1.The Back and Next button doesn't need the acc-description while JTextField will be better with it.
2.LABEL_FOR should be set for the JList
3.The mnemonic should be assigned

The 3rd panel should be fixed similarly. Its output is:
-------------------------------------%<------------------------------------
No Accessible description :
 Class javax.swing.JButton { < Back | } 
 Class javax.swing.JTextField { Select toolbar button text: | } 
Components with no LABEL_FOR pointing to it :
 Class javax.swing.JList { Select destination for shortcut | N/A } 
Components with no mnemonic :
 Class javax.swing.JLabel { Select toolbar button text: | } 
-------------------------------------%<------------------------------------
Comment 1 Denis Anisimov 2008-02-27 14:20:02 UTC
Fixed issues with accessible description and mnemonics.
For others:
1) buttons "< Back" and "Next >" are got from Dialogs API ( opg.openide.WizardDescriptor and others ).
So problems should be addressed and fixed in Dialogs API.
Please verify that issue with these buttons are still valid and reassign them to corresponding category.
2) JList doesn't have label in this UI. There are only JTextArea , JList  and combined Label with JTextField .
So absence of  LABEL_FOR property is normal. I don't see reasons to add fake JLabel for component that 
originally don't have such label.
If you think that JList should have accompanied JLabel then please submit one more issue with 
appropriate description. Such issue already is not A11Y issue.
Comment 2 Denis Anisimov 2008-02-27 14:25:55 UTC
changeset:   70116:53ebc19d8209
tag:         tip
parent:      70054:44eb15888530
parent:      70115:dc51ceec3097
user:        Denis Anisimov <ads
date:        Wed Feb 27 17:24:51
summary:     Fix for IZ#127942.

changeset:   70054:44eb15888530
user:        Denis Anisimov <ads
date:        Wed Feb 27 17:23:11
summary:     Fix for IZ#127942.