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 81666 - a11y: Print Preview->Print Setup dialog has some a11y issues
Summary: a11y: Print Preview->Print Setup dialog has some a11y issues
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Output (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Thuy.d Nguyen
URL:
Keywords: A11Y
: 83745 83746 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-02 09:02 UTC by Peter Lam
Modified: 2006-10-13 08:06 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 Peter Lam 2006-08-02 09:02:02 UTC
The following are issues in this Print Setup dialog:
1. some components have no accessible names
2. some components have no accessible descriptions
3. some components with no LABEL_FOR pointing to them
4. All components in the dialog have no mnemonics
5. Caption text field is not accessible using keyboard at all - can't tab to it
so can't enter caption text


Results of Accessibility test, window with title "Print Setup"

 No Accessible name :
   Class: com.tomsawyer.editor.dialog.TSUnsignedIntegerField {  |  } 
   Class: com.tomsawyer.editor.dialog.TSUnsignedIntegerField {  |  } 
   Class: javax.swing.JComboBox {  |  } 


 No Accessible description :
   Class: com.tomsawyer.editor.dialog.TSUnsignedIntegerField {  |  } 
   Class: com.tomsawyer.editor.dialog.TSUnsignedIntegerField {  |  } 
   Class: javax.swing.JButton {  Cancel |  } 
   Class: javax.swing.JButton {  Color... |  } 
   Class: javax.swing.JButton {  Default |  } 
   Class: javax.swing.JButton {  Font... |  } 
   Class: javax.swing.JButton {  OK |  } 
   Class: javax.swing.JButton {  Page Setup... |  } 
   Class: javax.swing.JCheckBox {   Print Background |  } 
   Class: javax.swing.JCheckBox {   Print Border |  } 
   Class: javax.swing.JCheckBox {   Print Caption |  } 
   Class: javax.swing.JCheckBox {   Print Crop Marks |  } 
   Class: javax.swing.JCheckBox {   Print Grid |  } 
   Class: javax.swing.JCheckBox {   Print Page Numbers |  } 
   Class: javax.swing.JComboBox {  |  } 
   Class: javax.swing.JRadioButton {   Actual Size |  } 
   Class: javax.swing.JRadioButton {   Pages |  } 
   Class: javax.swing.JRadioButton {   Print Current Selection |  } 
   Class: javax.swing.JRadioButton {   Print Current Window |  } 
   Class: javax.swing.JRadioButton {   Print Entire Graph |  } 
   Class: javax.swing.JRadioButton {   Zoom Level |  } 
   Class: org.netbeans.modules.uml.ui.swing.drawingarea.ADPrintSetupDialog { 
Print Setup |  } 

 Components with no LABEL_FOR pointing to it :
   Class: com.tomsawyer.editor.dialog.TSUnsignedIntegerField {  |  } 
   Class: com.tomsawyer.editor.dialog.TSUnsignedIntegerField {  |  } 


 Components with no mnemonic :
   Class: javax.swing.JButton {  Color... |  } 
   Class: javax.swing.JButton {  Default |  } 
   Class: javax.swing.JButton {  Font... |  } 
   Class: javax.swing.JButton {  OK |  } 
   Class: javax.swing.JButton {  Page Setup... |  } 
   Class: javax.swing.JCheckBox {   Print Background |  } 
   Class: javax.swing.JCheckBox {   Print Border |  } 
   Class: javax.swing.JCheckBox {   Print Caption |  } 
   Class: javax.swing.JCheckBox {   Print Crop Marks |  } 
   Class: javax.swing.JCheckBox {   Print Grid |  } 
   Class: javax.swing.JCheckBox {   Print Page Numbers |  } 
   Class: javax.swing.JRadioButton {   Actual Size |  } 
   Class: javax.swing.JRadioButton {   Pages |  } 
   Class: javax.swing.JRadioButton {   Print Current Selection |  } 
   Class: javax.swing.JRadioButton {   Print Current Window |  } 
   Class: javax.swing.JRadioButton {   Print Entire Graph |  } 
   Class: javax.swing.JRadioButton {   Zoom Level |  }
Comment 1 Peter Lam 2006-08-30 09:21:23 UTC
*** Issue 83745 has been marked as a duplicate of this issue. ***
Comment 2 Peter Lam 2006-08-30 09:23:16 UTC
*** Issue 83746 has been marked as a duplicate of this issue. ***
Comment 3 Thuy.d Nguyen 2006-10-02 23:55:31 UTC
Fixed and integrated.
Comment 4 Peter Lam 2006-10-11 08:54:41 UTC
Still got the following result from the a11y tester tool but component
"TSEPrintSetupDialog$ExTextArea" seems to be new since it's not there before.
And "Print Grid" has no mnemonic but looks like all characters have been used
for other components. 

Results of Accessibility test, window with title "Print Setup"

 No Accessible name :
   Class: com.tomsawyer.editor.export.TSEPrintSetupDialog$ExTextArea {  |  } 

 No Accessible description :
   Class: com.tomsawyer.editor.export.TSEPrintSetupDialog$ExTextArea {  |  } 

 Components with no LABEL_FOR pointing to it :
   Class: com.tomsawyer.editor.export.TSEPrintSetupDialog$ExTextArea {  |  } 

 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain
mnemonic):
   Class: javax.swing.JCheckBox {   Print Grid |  Check to print grid } 
Comment 5 Thuy.d Nguyen 2006-10-11 21:24:19 UTC
- Have set accessible name and description for the caption text area (ExTextArea).
- This text area has no label, so "no Label_For pointing to it" is an expected
result.
- Could not set mnemonic for "Print Grid" check box, because all the characters
P,R,I,N,T,G,D have been used by other components on the dialog.
Comment 6 Peter Lam 2006-10-13 08:06:36 UTC
verified in daily build 061012_5.