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.
Results of Accessibility test, window with title "Insert Record" Components with no mnemonic : Class: javax.swing.JLabel { FREQUENTFLYER | } Class: javax.swing.JLabel { JOBTITLE | } Class: javax.swing.JLabel { LASTUPDATED | } Class: javax.swing.JLabel { NAME | } Class: javax.swing.JLabel { PERSONID | }
These Labels created dynamically and we should not be assigning mnemonic for this.
http://hg.netbeans.org/main/rev/1917d0e4e3ff
Still see this issue. Have you run a11y-tool? I see changes from changeset, but a11y-tool still give me following results. Results of Accessibility test, window with title "Insert Record" Components with no mnemonic : Class: javax.swing.JLabel { FREQUENTFLYER | } Class: javax.swing.JLabel { INTEGER | } Class: javax.swing.JLabel { JOBTITLE | } Class: javax.swing.JLabel { LASTUPDATED | } Class: javax.swing.JLabel { NAME | } Class: javax.swing.JLabel { PERSONID | } Class: javax.swing.JLabel { SMALLINT | } Class: javax.swing.JLabel { TIMESTAMP | } Class: javax.swing.JLabel { VARCHAR | } Class: javax.swing.JLabel { VARCHAR | }
These Labels for column names created dynamically based on the executed SQL query and we should not be assigning mnemonic for this.
Why mnemonic shouldn't be assigned to dynamically created components? Why mnemonic can't be assigned dynamically? By the way, last time I did a11y testing it seems to me that I didn't see this problem. I 'll update this issue later. But anyway, please answer on my questions in the beginning.
I have a table of 120 columns and user does a "select * from tablename", now you need to assign mnemonic to all the 120 column names. I think this is a very unusual requirement. Since the text is not known on what basis the you would like to assign mnemonic?
Let me know, whether you still wanted to keep it open.
Fixed. Only TextArea hasn't LABEL_FOR, but as Sivashankari wrote me it is unnecessary.
Verified with build 080724.