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 110138 - [A11Y][Introduce Field] dialog not a11ble
Summary: [A11Y][Introduce Field] dialog not a11ble
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2007-07-18 13:49 UTC by Max Sauer
Modified: 2007-10-18 10:12 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 Max Sauer 2007-07-18 13:49:44 UTC
org.netbeans.modules.java.hints.introduce.IntroduceFieldPanel:

- lblName Label has not label_for set (should point to name TextField)
- missing a11y description for:
 - OK, Cancel buttons (should be probably corrected in IntroduceHint.java:1131 , smtg like:
btnOk.getAccessibleContext().setAccessibleDescription("ble");)
 - Both CheckBoxes
 - All Radio's


===============================================
 Tested Window title : Introduce Field
===============================================

Results of Accessibility test


 Doesn't implement Accessible :
   - none.

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


 No Accessible description :
   Class: javax.swing.JButton {  Cancel |  } 
   Class: javax.swing.JButton {  Ok |  } 
   Class: javax.swing.JRadioButton {  Constructor(s) |  } 
   Class: javax.swing.JRadioButton {  Current Method |  } 
   Class: javax.swing.JRadioButton {  Field |  } 
   Class: javax.swing.JRadioButton {  default |  } 
   Class: javax.swing.JRadioButton {  private |  } 
   Class: javax.swing.JRadioButton {  protected |  } 
   Class: javax.swing.JRadioButton {  public |  } 
   Class: javax.swing.JTextField {  |  } 
   Class: org.netbeans.core.windows.services.NbDialog {  Introduce Field |  } 


 Label with LABEL_FOR not set :
   - none.

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


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


---
Product Version: NetBeans IDE Dev (Build 070718) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 
System: Linux version 2.6.12-1.1390_FC4smp running on i386; 
UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev
Comment 1 Petr Hrebejk 2007-07-22 16:19:19 UTC
OK and Cancel is a nonsense. The dialog is invoked using NotifyDescriptor.
Comment 2 Petr Hrebejk 2007-07-22 16:40:24 UTC
Checking in Bundle.properties;
/cvs/java/hints/src/org/netbeans/modules/java/hints/introduce/Bundle.properties,v  <--  Bundle.properties
new revision: 1.5; previous revision: 1.4
done
Checking in IntroduceHint.java;
/cvs/java/hints/src/org/netbeans/modules/java/hints/introduce/IntroduceHint.java,v  <--  IntroduceHint.java
new revision: 1.13; previous revision: 1.12
done
Checking in IntroduceFieldPanel.form;
/cvs/java/hints/src/org/netbeans/modules/java/hints/introduce/IntroduceFieldPanel.form,v  <--  IntroduceFieldPanel.form
new revision: 1.3; previous revision: 1.2
done
Checking in IntroduceFieldPanel.java;
/cvs/java/hints/src/org/netbeans/modules/java/hints/introduce/IntroduceFieldPanel.java,v  <--  IntroduceFieldPanel.java
new revision: 1.3; previous revision: 1.2
done

Sorry OK and Cancel implemented ass suggested
Comment 3 Max Sauer 2007-10-18 10:12:43 UTC
V.
---
Product Version: NetBeans IDE Dev (Build 20071018060449)
Java: 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
System: Linux version 2.6.15-1.2054_FC5xen0 running on i386; UTF-8; en_US (nb)
Userdir: /home.local/tester/.netbeans/dev