Let's say I have a small Java application with a disabled menu item added to the top level menu:
/**
* @param args
*/
public static void main(String[] args) {
JFrame fr = new JFrame();
JMenuBar mb = new JMenuBar();
JMenu menu = new JMenu("windows");
JMenuItem mi = new JMenuItem("abc");
mi.setEnabled(false);
menu.add(mi);
mb.add(menu);
fr.setJMenuBar(mb);
fr.setSize(500, 500);
fr.setVisible(true);
}
NVDA reads the name of the "abc" menu item but it does not report in any way that it is disabled. JAWS on the other side reports the menu item as "unavailable".
I'm using Java 1.8 to run the sample code and using "nvda_2019.3.1"
Let's say I have a small Java application with a disabled menu item added to the top level menu:
NVDA reads the name of the "abc" menu item but it does not report in any way that it is disabled. JAWS on the other side reports the menu item as "unavailable".
I'm using Java 1.8 to run the sample code and using "nvda_2019.3.1"