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.
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 { | }
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.
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... :-)
Fixed. 44dbc9f39dca
Verified.