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 31640 - a11y: accessibility problems in the `Auto Comment Tool` window
Summary: a11y: accessibility problems in the `Auto Comment Tool` window
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: -S1S-
Hardware: All All
: P2 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords: A11Y
: 31398 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-04 08:52 UTC by Jason Rush
Modified: 2005-07-12 13:53 UTC (History)
2 users (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 Jason Rush 2003-03-04 08:52:08 UTC
Description: 


Name: ssR10187			Date: 03/04/2003


  Product Version       = Sun ONE Studio 5, Standard Edition (Build 030228)
  IDE Versioning        = IDE/1 spec=3.38 impl=030228
  Operating System      = SunOS version 5.8 running on sparc
  Java; VM; Vendor      = 1.4.0; Java HotSpot(TM) Client VM 1.4.0-b92; Sun 
Microsystems Inc.

   To reproduce the bug:

1. Create Web Module in some mounted dir
2. Highlight the Web Module node
3. Bring up the context menu.
4. Select 'Tools/Auto Comment' from context menu

See results of Accessibility Tester:
===============================================
 Tested Window title : Auto Comment Tool [Auto Comment Tool - WEB-INF]
===============================================
 No Accessible name :
   Class: javax.swing.JScrollPane$ScrollBar {  |  } 

 No Accessible description :
   Class: javax.swing.JList {  Comment List |  } 
   Class: javax.swing.JList {  Method List |  } 
   Class: javax.swing.JScrollPane$ScrollBar {  |  } 

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JList {  Comment List |  } 
   Class: javax.swing.JList {  Method List |  } 

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

 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain 
mnemonic):
   Class: javax.swing.JToggleButton {   |  Display classes and members with 
partial or erroneous Javadoc. } 
   Class: javax.swing.JToggleButton {   |  Display classes and members without 
any Javadoc. } 
   Class: javax.swing.JToggleButton {   |  Display compliant classes and 
members with full Javadoc. } 
   Class: javax.swing.JToggleButton {   |  Package } 
   Class: javax.swing.JToggleButton {   |  Private } 
   Class: javax.swing.JToggleButton {   |  Protected } 
   Class: javax.swing.JToggleButton {   |  Public } 

 Components with potential mnemonics conflict:
 - components with mnemonic 'S' :
   Class: javax.swing.JLabel {  Description: |  Tag description. } 
   Class: javax.swing.JLabel {  Description: |  Tag description. } 
   Class: javax.swing.JLabel {  Description: |  Tag description. } 
   Class: javax.swing.JLabel {  Description: |  Tag description. } 
   Class: javax.swing.JLabel {  Description: |  Tag description. } 

 - components with mnemonic 'A' :
   Class: javax.swing.JLabel {  Name: |  Tag name. } 
   Class: javax.swing.JLabel {  Name: |  Tag name. } 

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

A comment.
Comment 1 Jason Rush 2003-03-04 08:54:00 UTC
Transferred from BugTraq #4826845.
Comment 2 Petr Jiricka 2003-03-04 17:09:44 UTC
I am assuming this does not only happen for the Web 
Module, but for any node. Please speak up if this is not 
correct.

Assigning to the Java module, which owns the action.

Comment 3 Svata Dedic 2003-03-04 17:15:19 UTC
Javadoc module, actually -- should be fixed for 3.5 
Comment 4 Svata Dedic 2003-03-04 17:27:57 UTC
The part labeled "Components with wrong mnemonic (mnemonic isn't 
ASCII , label doesn't contain mnemonic)" is spurious: the controls 
HAVE numeric mnemonics (1 through 7) which do work, actually.  
The report about conflicting mnemonics is vague - no sign of 
component's identity. Please correct the reporting tool. 
 
Comment 5 Svata Dedic 2003-03-04 17:37:16 UTC
Parts labeled "Potential conflicting mnemonics" are spurious: controls 
which are reported are actually on *different* panel, which are never 
displayed at the same time. 
 
Comment 6 Milan Kubec 2003-03-05 11:05:22 UTC
I think that conflicting mnemonics message is bug in reporting tool.
Components with wrong mnemonics are buttons without label and those
buttons have shortcuts. Scrollbar doesn't need accessible name nor
accessible description. And after you remove all this, it should not
be set as P2 and moreover it seems as duplicate of #31398.
Comment 7 Svata Dedic 2003-03-06 14:09:21 UTC
*** Issue 31398 has been marked as a duplicate of this issue. ***
Comment 8 Svata Dedic 2003-03-06 14:11:19 UTC
Fixed in trunk: 
 
src/org/netbeans/modules/javadoc/comments/AutoCommentPanel.java;  
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/AutoCommentPanel.java,v   
<--  AutoCommentPanel.java  
new revision: 1.48; previous revision: 1.47  
  
Comment 9 Svata Dedic 2003-03-06 14:12:23 UTC
Oops, correcting target milestone (the fix was committed only to 
trunk) & mailing list. 
Comment 10 Svata Dedic 2003-03-11 15:43:06 UTC
Merged into rel35: 
 
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/AutoCommentPanel.java,v  
<--  AutoCommentPanel.java 
new revision: 1.47.2.1; previous revision: 1.47 
 
Comment 11 Milan Kubec 2005-07-12 13:53:38 UTC
Verified.