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 127952 - A11Y: Components with no LABEL_FOR pointing to it in "New Database Connection" dialog
Summary: A11Y: Components with no LABEL_FOR pointing to it in "New Database Connection...
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2008-02-20 21:29 UTC by Roman Mostyka
Modified: 2008-07-14 11:55 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 Roman Mostyka 2008-02-20 21:29:15 UTC
<HTML><HEAD>
<TITLE>Output from UIAccessibilityTester for window with title : New Database Connection </TITLE>
</HEAD>
<BODY>
<PRE>
Results of Accessibility test, window with title "New Database Connection"


 Doesn't implement Accessible :
   - none.

 No Accessible name :
   - none.

 No Accessible description :
   - none.

 Label with LABEL_FOR not set :
   - none.

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTabbedPane {  Database connect |  Database connect dialog } 


 Components with no mnemonic :
   - none.

 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain mnemonic):
   - none.

 Components not reachable with tab traversal :
   - none.
</PRE>
</BODY>
</HTML>
Comment 1 Roman Mostyka 2008-02-20 21:30:22 UTC
For "Advanced" tab:
<HTML><HEAD>
<TITLE>Output from UIAccessibilityTester for window with title : New Database Connection </TITLE>
</HEAD>
<BODY>
<PRE>
Results of Accessibility test, window with title "New Database Connection"


 Doesn't implement Accessible :
   - none.

 No Accessible name :
   - none.

 No Accessible description :
   - none.

 Label with LABEL_FOR not set :
   - none.

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTabbedPane {  Database connect |  Database connect dialog } 


 Components with no mnemonic :
   Class: javax.swing.JButton {  OK |  OK button } 


 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain mnemonic):
   - none.

 Components not reachable with tab traversal :
   - none.
</PRE>
</BODY>
</HTML>
Comment 2 John Baker 2008-02-21 01:16:58 UTC
which class is this ?

There is no file in visualweb.dataconnectivity with the string, "New Database Connection"
Comment 3 Roman Mostyka 2008-02-22 08:51:05 UTC
I'm not sure what class is this. Probably component and subcomponent were chosen incorrectly.
John, please reassign this issue to a right person, I think you should know better who is this.
Comment 4 John Baker 2008-03-14 22:32:44 UTC
"New Database Connection" dialog is in the db module
Comment 5 David Vancouvering 2008-03-25 23:58:51 UTC
Um, I don't get it - why should a JTabbedPane have a label for it?  Can you give me some guidance here?

Also, I looked *everywhere* for the "OK button" and couldn't find it -- all of the code uses the DialogDisplayer which
provides an OK button for us.
Comment 6 Roman Mostyka 2008-03-26 17:21:49 UTC
David, now output of A11Y tool looks nicer:

<HTML><HEAD>
<TITLE>Output from UIAccessibilityTester for window with title : New Database Connection </TITLE>
</HEAD>
<BODY>
<PRE>
Results of Accessibility test, window with title "New Database Connection"


 Doesn't implement Accessible :
   - none.

 No Accessible name :
   - none.

 No Accessible description :
   - none.

 Label with LABEL_FOR not set :
   - none.

 Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTabbedPane {  Database connect |  Database connect dialog } 


 Components with no mnemonic :
   - none.

 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain mnemonic):
   - none.

 Components not reachable with tab traversal :
   - none.
</PRE>
</BODY>
</HTML>

There is no anymore OK button, there is only JTabbedPane. I can't tell you why should a JTabbedPane have a label for it,
 it is just output of A11Y tool, but if you think that this is mistake of A11Y tool, then mark this issue as FIXED.
Comment 7 Roman Mostyka 2008-07-14 11:54:06 UTC
Fixed.
Comment 8 Roman Mostyka 2008-07-14 11:55:02 UTC
Verified.