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 82605 - a11y: Test Diff window a11y issues
Summary: a11y: Test Diff window a11y issues
Status: CLOSED DUPLICATE of bug 85060
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: wchui
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2006-08-14 12:58 UTC by Maksim Khramov
Modified: 2006-10-11 23:12 UTC (History)
2 users (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 Maksim Khramov 2006-08-14 12:58:17 UTC
Perform testrun of composite application and open Diff window for test:

 No Accessible name :
   Class: javax.swing.JComboBox {  |  }
   Class: javax.swing.JComboBox {  |  }
   Class: javax.swing.JToolBar$1 {  |  Refresh }


 No Accessible description :
   Class: javax.swing.JComboBox {  |  }
   Class: javax.swing.JComboBox {  |  }

 Components not reachable with tab traversal :
   Class: javax.swing.JComboBox {  |  }
   Class: javax.swing.JComboBox {  |  }
   Class: javax.swing.JToolBar$1 {  |  Refresh }
Comment 1 Maksim Khramov 2006-08-14 13:02:28 UTC
If input focus is in any of diff panes then other pane and toolbar controls
cannot be selected with keyboard.
After diff window is opened it cannot be navigated with keyboard at all.
Comment 2 wchui 2006-09-21 02:06:12 UTC
Fixed a11y name, description, tab traversal.

For navigating in diff panel, i see the same behavior in other Netbeans diff.
Example, just select 2 java files in a java project, then Tools > Diff. Once
inside diff panel, you cannot tab to other panel also. So this one might not be an 
issue.

Inside diff panel navigate with keyboard, use  Ctrl+1 to focous which brings
back to the Test case tree, then up/down arrow to select the actual output file
you want to diff, Shift+F10 for context menu and select Diff.
Comment 3 gc140975 2006-09-21 10:59:03 UTC
Verified in the build 060919
Comment 4 gc140975 2006-09-21 14:19:30 UTC
Accidentally closed this bug ,Will Retest this bug in  latest build which is
having this build
Comment 5 skrishnan 2006-10-05 11:53:37 UTC
Reopening, because the tab order does not really seem to be working. We are
required to use the mouse to bring the diff panel to focus. 
Comment 6 skrishnan 2006-10-05 11:55:28 UTC
Also, can anyone tell me how to verify whether the Acceibile names are given. I
failed to find the JComboBox or JToolBar$1 in the diff window.
Comment 7 Maksim Khramov 2006-10-05 13:55:47 UTC
I use for this testing special netbeans module. It can be downloaded here:
http://a11y.netbeans.org/nbms/v2.3/a11y.nbm
JCombobox is a combo in diff window toolbar.
The JToolBar$1 is a Refresh button. It looks as a button and work as a button
but actually it is a toolbar component.
Comment 8 wchui 2006-10-06 00:53:39 UTC
I tried and am able to tab focus to the diff panel. Please test again. Also, 
see mkhramov and my original comment. Thanks.
Comment 9 skrishnan 2006-10-10 14:25:37 UTC
I tried using the special netbeans (http://a11y.netbeans.org/nbms/v2.3/a11y.nbm)
module, but it does not seem to work on the build which we get. Could you
suggest a manual way of finding out the accessible names?
Comment 10 skrishnan 2006-10-10 14:28:05 UTC
Tabbing does not seem to work for me. I do the following.
- Select test result file using keyboard and select diff to see the diff with
the previous test results. 
- I, then hit a tab, to shift my focus from the "files" area to "diff" area.

I'm not able to bring focus to diff this way. Is this not working on the builds
which we get to test or Am I doing something wrong?
Comment 11 Maksim Khramov 2006-10-10 14:54:02 UTC
To make this module work the console wersion of IDE should be runned (i.e nb.exe
instead of netbeans.exe for windows platform) ant with these command line arguments
-J-Da11ytest.IDE=true
Comment 12 lchang 2006-10-11 20:38:31 UTC
When I run the a11y testing tool I get the following results now:
 No Accessible name :
   - none.
 No Accessible description :
   - none.
 Label with LABEL_FOR not set :
   - none.
 Components with no LABEL_FOR pointing to it :
   - none.
 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 am able to tab in and out of the diff pane, but cannot tab between the two 
files.  
Comment 13 lchang 2006-10-11 21:22:36 UTC
Reopening since you still cannot traverse between two Diff windows. This issue 
depends on 85060
Comment 14 wchui 2006-10-11 22:32:53 UTC
All other items are fixed. The remaining traverse between two Diff windows is 
a duplicate of 85060.

*** This issue has been marked as a duplicate of 85060 ***
Comment 15 lchang 2006-10-11 23:05:57 UTC
Verified that the remaining issue is a duplicate