Hi,
I'm using Gxt 2.2.5 and Jaws Screen Reader.
My problem is that Jaws doesn't read combobox list content (options).
I think that I don't correctly append the store list because the properties "aria-label" and "aria-description" are pronounced without problems.
Here my code.
Can someone helps me?
Thanks in advice.
Code:
public ComboPanelView(int tabStartPosition) {
super();
setLayout(new FlowLayout(10));
getAriaSupport().setPresentation(true);
ListStore<Country> countries = new ListStore<Country>();
countries.add(TestData.getCountries());
ComboBox<Country> comboCountry = new ComboBox<Country>();
comboCountry.setTitle("Country");
comboCountry.setTabIndex(10);
comboCountry.setWidth(150);
comboCountry.setStore(countries);
comboCountry.setDisplayField("name");
comboCountry.setTypeAhead(true);
comboCountry.setTriggerAction(TriggerAction.ALL);
comboCountry.getAriaSupport().setLabel("Country");
comboCountry.getAriaSupport().setLabelledBy("Country");
comboCountry.getAriaSupport().setRole("combobox");
comboCountry.getAriaSupport().setDescribedBy("Country combobox");
comboCountry.getAriaSupport().setDescription("Country combobox");
comboCountry.getAriaSupport().setState("aria-owns", comboCountry.getListView().getId());
comboCountry.getAriaSupport().setState("aria-controls", comboCountry.getListView().getId());
comboCountry.getAriaSupport().setState("aria-expanded", "true");
comboCountry.getAriaSupport().setState("haspopup", "true");
add(comboCountry, new FlowData(10));
}