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 30942 - Accesibility issues in the dialog External Process
Summary: Accesibility issues in the dialog External Process
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2003-02-11 13:03 UTC by ccv
Modified: 2008-12-23 11:17 UTC (History)
5 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 ccv 2003-02-11 13:03:28 UTC
To reproduce the bug:
1. create JarRecipe from Wizard
2. open the Property window, select the Execution
tab, call the Executor property editor
3. call the External Process property editor

#1. Push Alt-K and push Tab. Beep sounds.
If sound is being used as the only cue to the
user, it is not correct. A message should be 
displayed. 

Product Version: Sun ONE Studio 5, Standard
Edition (Build  030209)
IDE Versioning:  IDE/1 spec=3.32 impl=030209
OS: SunOS 5.8, sparc

java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed
mode)
#2. The button "..." should has ascii mnemonic.
Comment 1 ccv 2003-02-11 13:11:46 UTC
Sorry, the description was devided by mistake.
Atter #1 should be #2. The button "..." should have ascii mnemonic. 
Comment 2 Ondrej Rypacek 2003-02-11 15:54:45 UTC
Jarpackager uses org.openide.loaders.ExecutionSupport , which provides
the whole property sheet and the property editors there.
No customization from jarpackager's side.


Comment 3 Jan Lahoda 2003-02-12 10:09:38 UTC
The problem is probably in
org.netbeans.core.execution.beaninfo.editors.NbProcessDescriptorEditor

Not sure whether this belongs to execution or property editors.
Assigning to core/execution.
Comment 4 Jesse Glick 2003-02-17 15:51:35 UTC
Property editors, I think.
Comment 5 _ tboudreau 2003-02-20 11:55:50 UTC
A couple questions so I can fix this:

 - Where is focus supposed to be when I press Alt-K?
 - What is ALT-K supposed to do?
 - What does "call the External Process property editor mean"
   Do you mean I should have open the custom editor within
   the custom editor, or are you talking about the inplace
   editor in the custom editor for Executor?

Also: what is the justification for P2 priority?
Comment 6 ccv 2003-02-20 13:04:57 UTC
3. "call the External Process property editor" means:
    in the "Executor" dialog press "External Process" sheet button,
    push "Tab" key and press "..." button
    wait dialog "External Process"

"Argument Key" textarea has the mnemonic and a user pushes it, focus
is in the area, but there is no visible indication for this action.
You can highlight, border, etc. Othewise how can a user guess where
focus is?
When he pushes the Tab, he hears a beep and cannot understand what's
wrong. The same problem you can see, for example, in New Wizard dialog
for Template Description area. 

Concerning P2 justification:
According to quality criteria for Nevada release from Accesibility Bug
Priority Guidelines
- Sound  is being used as the only cue to the user, e.g. a beep to
indicate wrong selection  
Comment 7 _ tboudreau 2003-02-20 17:08:25 UTC
It looks to me like a bug is the fact that there *is* a mnemonic 
for Argument Key - I know of no other situations where there is a 
mnemonic for a set of instructions in the IDE.

All dialogs with instructions use text areas configured to look like
JLabels (consider the instructions in any wizard) and none of them 
provide any focus indication or otherwise.  If you see this as a 
serious issue, I recommend filing a bug for all of core and
openide that all text areas displaying focus should provide a 
visible focus indication - such a far reaching change should be
done across the entire IDE, not piece-meal on specific components,
since that leads to inconsistency.

If you like, I can remove the mnemonic;  otherwise, it seems to
me this bug should be closed.  Note also, I cannot 
reproduce the beeping when you press tab on the current trunk - 
tab simply moves focus to the OK button as it should.  So I am
closing this issue as WORKSFORME.  Let me know about the 
mnemonic.

Re the ASCII mnemonic for the "..." button - that would also need
to be changed globally, since it uses the infrastructure of 
PropertySheet (which, incidentally, is being rewritten - you may
want to add this as a requirement to issue 29447).

I don't see that the lack of a mnemonic for the custom editor
button as an A11Y bug, if the user is able to tab to the button
and invoke its default action.

It could be an enhancement, possibly (and there
is a keystroke combination for this action already implemented
in the property sheet rewrite on the branch).  If you want, file 
this as a separate enhancement and have it block 29447.

Comment 8 ccv 2003-02-21 08:07:34 UTC
1. You are right, it is a common problem for ide, that uneditable
component in focus has no visible indication. I don't know who is
responsible for a11y testing core, I found out this problem testing
Template/JarArchives and some other modules. 

In my opinion, mnemonic is needed and also visible indication is
needed. I am going to file a bug against ide for this common problem
after consultation with a11y-team.

2. Concerning the ASCII mnemonic for the "..." button. 
All buttons should be reachable via Tab key and also should have
mnemonic. 
No mnemonic for sub-component such as a button is a11y P3 bug.
Results of Accessibility test for External Process dialog.
===============================================
 Tested Window title : External Process
===============================================
Components with no mnemonic :
   Class: javax.swing.JButton {  ... |  N/A }
   
3. The beeping is reproducible for me.  
Product Version:  Sun One Studio, Standard Edition (Build 030217_1)
IDE Version:      IDE/1 spec=3.34 impl=030217_1
Operation System: SunOs version 5.8 running on sparc
Java:             1.4.0
VM:               Java HotSpot(TM) Client VM 1.4.0-b92  
Comment 9 Marian Mirilovic 2003-09-01 13:35:30 UTC
Without new informations for long time - verifying.