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 111759 - [A11Y] Accessibility issues in Struts 1.2.9 Configuration panel
Summary: [A11Y] Accessibility issues in Struts 1.2.9 Configuration panel
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: pslechta
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2007-08-02 14:58 UTC by Jiri Skrivanek
Modified: 2008-04-01 21:21 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 Jiri Skrivanek 2007-08-02 14:58:21 UTC
Please, fix accessibility issues in Struts 1.2.9 Configuration panel of new project wizard (open new project wizard
for web project, go to Frameworks panel, select Struts 1.2.9).

 No Accessible description :
   Class: javax.swing.JCheckBox {   |  }
Comment 1 _ potingwu 2008-03-14 20:09:13 UTC
I just use the org-netbeans-modules-a11y.nbm tool to check the Framework panel of the New Project wizard. If I make the
cursor focus on the Struts panel (the bottom part), then I got no A11Y error:

------------------------------------------------------------------------------------

Results of Accessibility test, window with title "New Web Application"

 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.

====================================================================================

If I move the focus on the framework selection panel (the upper one), then I got some A11Y error:

------------------------------------------------------------------------------------

Results of Accessibility test, window with title "New Web Application"

 Doesn't implement Accessible :
   - none.

 No Accessible name :
   - none.

 No Accessible description :
   Class: javax.swing.JCheckBox {   |  } 

 Label with LABEL_FOR not set :
   - none.

 Components with no LABEL_FOR pointing to it :
   - none.

 Components with no mnemonic :
   Class: javax.swing.JCheckBox {   |  } 

 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain mnemonic):
   - none.

 Components not reachable with tab traversal :
   Class: javax.swing.JCheckBox {   |  } 

====================================================================================

It happened only on the upper panel no matter which framework checkbox is selected. I think it belongs to the
web/project instead of any framework. The checkbox in the framework selection does not have the A11Y implemented.

Comment 2 pslechta 2008-03-25 22:06:24 UTC
I think the problem is caused by jCheckBoxWAR component that comes from class
org.netbeans.modules.web.struts.ui.StrutsConfigurationPanelVisual. This component does not have any accessibility
description set.

The fix may be very simple -- for jCheckBoxWAR, do something similar like for jCheckBoxTLD is already done:
     
jCheckBoxTLD.getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/web/struts/ui/Bundle").getString("ACSD_jCheckBoxTLD"));

P.S.: Previous panels of New Project Wizard have also some accessibility problems... :-)
Comment 3 pslechta 2008-03-28 14:09:04 UTC
Fixed.

44dbc9f39dca
Comment 4 Jiri Skrivanek 2008-04-01 21:21:38 UTC
Verified.