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 127816 - [a11y] ACTIONS: Action editor doesn't implement all requirements for accessibility
Summary: [a11y] ACTIONS: Action editor doesn't implement all requirements for accessib...
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2008-02-20 09:08 UTC by Jana Maleckova
Modified: 2008-04-08 13:16 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 Jana Maleckova 2008-02-20 09:08:28 UTC
Product Version: NetBeans IDE Dev (Build 200802140010)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
============
seems, some changes were made in action editor because of many non accessible components

report from accessible tool

===============================================
 Tested Window title : Set Action...
===============================================

Results of Accessibility test


 Doesn't implement Accessible :
   - none.

 No Accessible name :
   Class: javax.swing.JComboBox {  |  }
   Class: javax.swing.JTextField {  |  }
   Class: javax.swing.JTextField {  |  }
   Class: javax.swing.JTextField {  |  }
   Class: javax.swing.JTextField {  |  }


 No Accessible description :
   Class: javax.swing.JButton {  Large Icon... |  }
   Class: javax.swing.JButton {  Small Icon... |  }
   Class: javax.swing.JCheckBox {  Alt |  }
   Class: javax.swing.JCheckBox {  Ctrl |  }
   Class: javax.swing.JCheckBox {  Meta (Mac only) |  }
   Class: javax.swing.JCheckBox {  Shift |  }
   Class: javax.swing.JComboBox {  |  }
   Class: javax.swing.JTextField {  |  }
   Class: javax.swing.JTextField {  |  }
   Class: javax.swing.JTextField {  |  }
   Class: javax.swing.JTextField {  |  }
   Class: org.netbeans.core.windows.services.NbDialog {  Set Action... |  }
   Class: org.netbeans.modules.swingapp.IconButton {  ... |  }
   Class: org.netbeans.modules.swingapp.IconButton {  ... |  }


 Label with LABEL_FOR not set :
   - none.

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTextField {  |  }
   Class: javax.swing.JTextField {  |  }
   Class: javax.swing.JTextField {  |  }
   Class: javax.swing.JTextField {  |  }


 Components with no mnemonic :
   Class: javax.swing.JButton {  Large Icon... |  }
   Class: javax.swing.JButton {  Small Icon... |  }
   Class: javax.swing.JCheckBox {  Alt |  }
   Class: javax.swing.JCheckBox {  Background Task |  If checked, the action will create a task and run on background }
   Class: javax.swing.JCheckBox {  Ctrl |  }
   Class: javax.swing.JCheckBox {  Meta (Mac only) |  }
   Class: javax.swing.JCheckBox {  Shift |  }
   Class: javax.swing.JLabel {  <html>Set <b>deleteButton</b>'s <b>action</b> property using: |  }
   Class: javax.swing.JLabel {  Attributes: |  }
   Class: org.netbeans.modules.swingapp.IconButton {  ... |  }
   Class: org.netbeans.modules.swingapp.IconButton {  ... |  }


 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain mnemonic):
   Class: javax.swing.JButton {  Clear |  reset the fields to use no accelerator }
Comment 1 Jan Stola 2008-02-27 13:55:34 UTC
Fixed by http://hg.netbeans.org/main?cmd=changeset;node=978c4408e476

Note that there are still some false warnings reported by a11y tool:

> No Accessible name :
>   Class: javax.swing.JTextField {  |  N/A }
> Components with no LABEL_FOR pointing to it :
>   Class: javax.swing.JTextField {  |  N/A }

The mentioned text-field is not visible when this warning is shown. When it becomes visible then it has a label and an 
accessible name assigned.

> Components with no LABEL_FOR pointing to it :
>   Class: javax.swing.JTextField {  &Enabled Property: |  N/A }
>   Class: javax.swing.JTextField {  &Selected Property: |  N/A }

This is a consequence of strange layout of this dialog. There are two components for Enabled Property - a combo-box and 
a text-field. The label points to combo-box and hence there is no label to point to the text-field.

> Components with no mnemonic :
>   Class: javax.swing.JButton {  OK |  N/A }

OK button is the default button of this dialog. Therefore it doesn't need to have a mnemonic. It is invoked when Enter 
is pressed.

> Components with no mnemonic :
>   Class: javax.swing.JLabel {  <html>Set <b>jButton1</b>'s <b>action</b> property using: |  }

This is the same in all property customizers. We cannot assign any mnemonic to this label because it would possibly 
clash with mnemonics in the property customizer (that is possibly provided by some 3rd party).

> Components with no mnemonic :
>   Class: org.netbeans.modules.swingapp.IconButton {  ... |  N/A }
>   Class: org.netbeans.modules.swingapp.IconButton {  ... |  N/A }

These are the icon buttons. They can't have mnemonic because they don't have any text. They also don't need any because 
the icons can be set using the Small/Large Icon buttons above them. The Small/Large Icon buttons have mnemonic assigned.
Comment 2 Jana Maleckova 2008-04-08 13:16:37 UTC
verified on

Product Version: NetBeans IDE Dev (Build 20080407102043)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)