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 85057 - A11Y:Components with no LABEL_FOR pointing to it
Summary: A11Y:Components with no LABEL_FOR pointing to it
Status: CLOSED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-15 23:22 UTC by _ hlu
Modified: 2006-09-25 18:08 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 _ hlu 2006-09-15 23:22:05 UTC
In add/edit user window for UserNameToken profile:
Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JPasswordField {  Password: |  } 
   Class: javax.swing.JTextField {  Username: |  }
Comment 1 Peter Liu 2006-09-16 02:30:25 UTC
Hong, this is odd. I checked the code and both components have label_for
pointing to them. Manually testing also shows tha a11y is behaving correctly.

Comment 2 _ hlu 2006-09-18 18:45:18 UTC
Peter, 
Here is the output from a11y testtool on the window. Please take a look:
Results of Accessibility test, window with title "Add User"


 Doesn't implement Accessible :
   - none.

 No Accessible name :
   - none.

 No Accessible description :
   Class: javax.swing.JPasswordField {  Password: |  } 
   Class: javax.swing.JTextField {  Username: |  } 
   Class: org.netbeans.core.windows.services.NbDialog {  Add User |  } 


 Label with LABEL_FOR not set :
   - none.

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


 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.
Comment 3 Peter Liu 2006-09-18 19:11:42 UTC
I don't know why the tool is complaining. The label-for are set for those two
components in the code.  There is nothing else I can do.  Please try testing it
manually to see if a11y works. If the label-for are not set, a11y wouldn't work
at all.

Comment 4 Peter Liu 2006-09-19 21:31:35 UTC
Hong, please manually test this bug to see if there is a ally issue. Thanks.
Comment 5 _ hlu 2006-09-25 18:08:41 UTC
manual testing for traversal is OK.