Accessible behavior of Label + Combo [message #484518] |
Tue, 08 September 2009 02:29 |
Benjamin Gold Messages: 6 Registered: July 2009 |
Junior Member |
|
|
I'm trying to find any documentation or other notes about the behavior I'm
seeing. Basically what I've found is that if you have a Label followed by
a Combo, the JAWS screen reader will only read the Label if it has a
mnemonic in the text (i.e. "T&ext"). Is this expected behavior? Or does
anyone know if there an option in JAWS to get it to read non-mnemonic
Labels?
Here's a code snippet that demonstrates the issue:
Display display = new Display();
Shell shell = new Shell();
GridLayout gLayout = new GridLayout();
gLayout.numColumns = 2;
shell.setLayout(gLayout);
Label testLabel = new Label (shell, SWT.NONE);
// Removing & from the Label causes it to not be read by JAWS
testLabel.setText("&Label Text:");
Combo testCombo = new Combo (shell, SWT.DROP_DOWN | SWT.READ_ONLY |
SWT.SINGLE);
testCombo.add("one");
testCombo.add("two");
testCombo.add("three");
testCombo.select(0);
shell.pack();
shell.open();
while (!shell.isDisposed())
{
if (!display.readAndDispatch())
{
display.sleep();
}
}
--------------
Ben Gold
|
|
|
Powered by
FUDForum. Page generated in 0.02505 seconds