Re: Problems using NVDA with a Java application

Radu Coravu <radu_coravu@...>

Hi Brian,

Thanks for pointing out there is a GitHub project for NVDA, I did not find out this information starting from NVDA's main web page so this is why initially I wrote on the mailing list.

The problem our Java-based application experiences with NVDA would be comparable to this:
Assume you are reading an HTML web page which has in the middle the main content and on the sides various commercials (or some additional information). These commercials (side information) auto update quite often without taking the keyboard focus. When such an update automatically occurs for the side information, instead of continuing reading the main HTML content where the keyboard focus is, NVDA would start reading the most recently updated side information.

Anyway I think I found a similar issue to what I'm experiencing on the GitHub project and I added my feedback to it:


Radu Coravu
<oXygen/> XML Editor

On 9/6/2018 9:38 PM, Brian's Mail list account via Groups.Io wrote:
I thought he meant that in Jaws the area is separate but in his example
its an interaction between one area and another. I cannot visualise this
in my brain. Also one needs to point out that nobody can attach
screenshots on this likes and as the developers are blind a ticket on
github and some log fragments to show what is going on and a description
of what should go on would probably be the best approach here. Its very
difficult for us as blind people who have never seen the program, to
visualise the needed responses of nvda, against what is actually
happening. I would however say that if the program is only useable with
a mouse and is visual, then some work around using hot keys inside the
application would seem to be the only way forward. java Access bridge
can only go so far.
Sent via blueyonder.
Please address personal E-mail to:-, putting 'Brian Gaff'
in the display name field.
----- Original Message ----- From: "Travis Siegel" <>
To: <>
Sent: Thursday, September 06, 2018 4:58 PM
Subject: Re: [nvda] Problems using NVDA with a Java application

I've never tried this software, but why is this a problem? If something
changes, the screen reader is supposed to let the user know it changed.
NVDA is doing exactly what it's supposed to do, where's the problem?

On 9/6/2018 6:38 AM, Radu Coravu wrote:

I'm a developer working to provide better accessibility in a
Java-based application called Oxygen XML Editor.
One of our end users uses our application with JAWS but he'd rather
use it with NVDA.
So I started to use our application with NVDA, I have to say it looks
like a better alternative, I even like the voice better.
There's one problem, our application has side views (see the attached
screenshot) and whenever I move the cursor in the text content the
"Outline" side view selects the appropriate node structure in its
internal tree. We do that without giving explicit focus to the Outline
view, but NVDA still reads the changes made in the Outline view
whenever I move the cursor in the main text area.

Is there a setting in NVDA to prohibit it to announce changes in
application components which are not keyboard focused?

I also reproduced the problem with a small Java application:

public static void main(String[] args) {
JFrame fr = new JFrame("AAA");
fr.setSize(500, 500);
JPanel panel = new JPanel(new GridBagLayout());
GridBagConstraints c = new GridBagConstraints();
c.gridy = 0;
c.gridx = 0;
JTree tree = new JTree();
JTextArea jt = new JTextArea("SOME\na\nb\nctext");
jt.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
tree.setSelectionRow(e.getDot() % 4);
panel.add(jt, c);
panel.add(tree, c);

fr.getContentPane().add(panel, BorderLayout.CENTER);
moving the caret in the text area also moves the selection in the tree
under it and sometimes NVDA reads the selection in the tree although
the focus is always in the text area.


Radu Coravu
<oXygen/> XML Editor

Join to automatically receive all group messages.