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.
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: | }
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.
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.
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.
Hong, please manually test this bug to see if there is a ally issue. Thanks.
manual testing for traversal is OK.