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 45584

Summary: A11Y problems in Java Library Manager
Product: java Reporter: Milan Kubec <mkubec>
Component: PlatformAssignee: Tomas Zezula <tzezula>
Status: CLOSED FIXED    
Severity: blocker CC: geertjan, johnjullion, jrojcek
Priority: P3 Keywords: A11Y
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

Description Milan Kubec 2004-06-25 14:28:49 UTC
Java Library Manager - Classpath tab. Mnemonics
conflict is probably wrong because they are on
different tabs.

 No Accessible name :
   Class: javax.swing.JTabbedPane {  |  }
   Class:
org.openide.explorer.view.TreeView$ExplorerTree {
 |  }


 No Accessible description :
   Class: javax.swing.JButton {  Add JAR/Folder...
|  }
   Class: javax.swing.JButton {  Add Library... |  }
   Class: javax.swing.JButton {  Move Down |  }
   Class: javax.swing.JButton {  Move Up |  }
   Class: javax.swing.JButton {  Remove |  }
   Class: javax.swing.JButton {  Remove |  }
   Class: javax.swing.JList {  Library Classpath: |  }
   Class: javax.swing.JTabbedPane {  |  }
   Class: javax.swing.JTextField {  Library Name: |  }
   Class:
org.netbeans.core.windows.services.NbDialog { 
Library Manager |  }
   Class:
org.openide.explorer.view.TreeView$ExplorerTree {
 |  }

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTabbedPane {  |  }
   Class:
org.openide.explorer.view.TreeView$ExplorerTree {
 |  }

  Components with potential mnemonics conflict:
 - components with mnemonic 'J' :
   Class: javax.swing.JButton {  Add JAR/Folder...
|  }
   Class: javax.swing.JLabel {  Library Javadoc: |  }

----------------------------------------

Sources tab - the same as Classpath tab.

----------------------------------------

Javadoc tab - the same as Classpath tab +

 No Accessible description :
   Class: javax.swing.JButton {  Add ZIP/Folder...
|  }
Comment 1 Tomas Zezula 2004-07-12 18:01:20 UTC
Checking in
java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/Bundle.properties;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.9; previous revision: 1.8
done
Checking in
java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/J2SEVolumeCustomizer.form;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/J2SEVolumeCustomizer.form,v
 <--  J2SEVolumeCustomizer.form
new revision: 1.6; previous revision: 1.5
done
Checking in
java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/J2SEVolumeCustomizer.java;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/J2SEVolumeCustomizer.java,v
 <--  J2SEVolumeCustomizer.java
new revision: 1.9; previous revision: 1.8
done
Processing log script arguments...
More commits to come...
Checking in
projects/libraries/src/org/netbeans/modules/project/libraries/ui/Bundle.properties;
/cvs/projects/libraries/src/org/netbeans/modules/project/libraries/ui/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.14; previous revision: 1.13
done
Checking in
projects/libraries/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizer.form;
/cvs/projects/libraries/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizer.form,v
 <--  LibrariesCustomizer.form
new revision: 1.7; previous revision: 1.6
done
Checking in
projects/libraries/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizer.java;
/cvs/projects/libraries/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizer.java,v
 <--  LibrariesCustomizer.java
new revision: 1.13; previous revision: 1.12
done
Comment 2 Milan Kubec 2004-07-13 13:11:16 UTC
There seems to be a problem with the whole dialog design. The
ExplorerTree with all libraries do not have a title, it means it has
no mnemonic to select the tree. It should be fixed too. Still
remaining problems (The JTabbedPane is probably OK, please explain the
purpose of the JTabbedPane):

No Accessible name :
   Class: org.openide.explorer.view.TreeView$ExplorerTree {  |  }

No Accessible description :
   Class: org.openide.explorer.view.TreeView$ExplorerTree {  |  }

Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTabbedPane {  Properties |  N/A }
   Class: org.openide.explorer.view.TreeView$ExplorerTree {  |  }
Comment 3 Tomas Zezula 2004-07-13 14:30:38 UTC
Do not take blindly the output of the test tool, its output is
sometimes misleading.

No Accessible name :
   Class: org.openide.explorer.view.TreeView$ExplorerTree {  |  }

No Accessible description :
   Class: org.openide.explorer.view.TreeView$ExplorerTree {  |  }

is OK since the TreeView is accessible.


Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTabbedPane {  Properties |  N/A }
   Class: org.openide.explorer.view.TreeView$ExplorerTree {  |  }
is also OK, look at the UI spec.
Comment 4 Milan Kubec 2004-07-13 14:48:03 UTC
Well, I don't have the knowledge that you have to judge if any
component is a11y or not. So if you explain it along with the fix that
something cannot be fixed from this and that reason, I'll be happy to
learn it.

And if something is in UI Spec it doesn't mean it's in stone, even UI
Spec could be wrong and this seems to be the case. Why this particular
pane cannot have a title? If there is a title there can be also
mnemonic and it means it's easier accessible. Jano what is the reason
the pane with the tree doesn't have a title?
Comment 5 jrojcek 2004-07-13 15:53:17 UTC
First of all, the tree on the left is accessible because the user can traverse the focus there 
using the Tab key. I agree that it isn't ideal and label with mnemonic would help. This 
however affects the whole dialog design because the right panel should change too.

For this promotion I suggest to supply accessible name and description for the tree and I 
will change the design for the next promotion.
Comment 6 jrojcek 2005-02-28 17:28:37 UTC
I've added "Platforms" label to the platform manager tree and "Libraries" label to the library 
manager tree. Both have mnemonics (P/L). I also tried to fix the mnemonic conflicts in the 
panels.

Please see the spec in the URL field.
Comment 7 Tomas Zezula 2005-03-01 11:16:47 UTC
Checking in
projects/libraries/src/org/netbeans/modules/project/libraries/ui/Bundle.properties;
/cvs/projects/libraries/src/org/netbeans/modules/project/libraries/ui/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.19; previous revision: 1.18
done
Checking in
projects/libraries/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizer.form;
/cvs/projects/libraries/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizer.form,v
 <--  LibrariesCustomizer.form
new revision: 1.8; previous revision: 1.7
done
Checking in
projects/libraries/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizer.java;
/cvs/projects/libraries/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizer.java,v
 <--  LibrariesCustomizer.java
new revision: 1.20; previous revision: 1.19
done
Processing log script arguments...
More commits to come...
Checking in
java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/J2SEVolumeCustomizer.form;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/J2SEVolumeCustomizer.form,v
 <--  J2SEVolumeCustomizer.form
new revision: 1.10; previous revision: 1.9
done
Checking in
java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/J2SEVolumeCustomizer.java;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/J2SEVolumeCustomizer.java,v
 <--  J2SEVolumeCustomizer.java
new revision: 1.22; previous revision: 1.21
done
Processing log script arguments...
More commits to come...
Checking in
java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformCustomizer.java;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformCustomizer.java,v
 <--  J2SEPlatformCustomizer.java
new revision: 1.20; previous revision: 1.19
done
Processing log script arguments...
More commits to come...
Checking in
java/platform/src/org/netbeans/modules/java/platform/ui/Bundle.properties;
/cvs/java/platform/src/org/netbeans/modules/java/platform/ui/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.15; previous revision: 1.14
done
Checking in
java/platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.form;
/cvs/java/platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.form,v
 <--  PlatformsCustomizer.form
new revision: 1.9; previous revision: 1.8
done
Checking in
java/platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.java;
/cvs/java/platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.java,v
 <--  PlatformsCustomizer.java
new revision: 1.18; previous revision: 1.17
done
Comment 8 Milan Kubec 2005-10-05 10:50:04 UTC
Verified in dev-200510031800.