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 140733 - A11Y: Components with no mnemonic in "Insert Record" dialog
Summary: A11Y: Components with no mnemonic in "Insert Record" dialog
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Shansi 11
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2008-07-18 13:09 UTC by Roman Mostyka
Modified: 2008-07-24 18:08 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-07-18 13:09:58 UTC
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 |  }
Comment 1 _ ahimanikya 2008-07-18 15:50:01 UTC
These Labels created dynamically and we should not be assigning mnemonic for this.
Comment 2 Shansi 11 2008-07-20 05:13:00 UTC
http://hg.netbeans.org/main/rev/1917d0e4e3ff
Comment 3 Roman Mostyka 2008-07-21 15:59:29 UTC
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 |  }
Comment 4 _ ahimanikya 2008-07-23 16:40:55 UTC
These Labels for column names created dynamically based on the executed SQL query and we should not be assigning
mnemonic for this.
Comment 5 Roman Mostyka 2008-07-23 16:47:39 UTC
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.
Comment 6 _ ahimanikya 2008-07-23 16:52:01 UTC
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? 
Comment 7 _ ahimanikya 2008-07-23 18:17:36 UTC
Let me know, whether you still wanted to keep it open.
Comment 8 Roman Mostyka 2008-07-24 18:07:24 UTC
Fixed. Only TextArea hasn't LABEL_FOR, but as Sivashankari wrote me it is unnecessary.
Comment 9 Roman Mostyka 2008-07-24 18:08:40 UTC
Verified with build 080724.