I am setting screen reader mode as the first thing in my entry point:
SC.setScreenReaderMode(true);
However, ComboBox does not seem to be accessible. The only way a screen reader is reading the available options of the ComobBox seems to be, when you put the mouse cursor over the option when the option list is expanded.
Instead when you step through the options with the cursor keys (down/up) screen readers always read the current value of the ComboBox instead of the highlighted option.
This also happens in the showcase (but I think screen reader mode is not turned on there) e.g.:
http://www.smartclient.com/smartgwt/showcase/#local_db_combobox_combobox_category
Analysis:
When I open available options e.g. by supplying the first character or by expanding a blank box with the picker icon, the focus always remains in the ComboBox while the only thing that is changed when moving up/down with array keys seems to be the style setting the highlighting background color. Here an example with the first option selected:
<TR role=listitem>
<TD style="BORDER-BOTTOM: #9fb7e9 1px dotted; PADDING-BOTTOM: 0px; FONT-FAMILY: Arial, Verdana, sans-serif; BACKGROUND: #d6e8ff; COLOR: black; FONT-SIZE: 11px; BORDER-TOP: #9fb7e9 1px dotted; PADDING-TOP: 0px" height=16 width=144 align=left>
<NOBR>New
</NOBR>
</TD>
</TR>
<TR role=listitem>
<TD style="PADDING-BOTTOM: 0px; FONT-FAMILY: Arial, Verdana, sans-serif; COLOR: black; FONT-SIZE: 11px; PADDING-TOP: 0px" height=16 width=144 align=left>
<NOBR>Active
</NOBR>
</TD>
</TR>
<TR role=listitem>
<TD style="PADDING-BOTTOM: 0px; FONT-FAMILY: Arial, Verdana, sans-serif; COLOR: black; FONT-SIZE: 11px; PADDING-TOP: 0px" height=16 width=144 align=left>
<NOBR>Revisit
</NOBR>
</TD>
</TR>
A ComboBox example where the selected option is read can be found here (however this one has other problems):
http://test.cita.illinois.edu/aria/combobox/combobox2.php
Additional Info:
1. I am using SmartGWT 3.1, version
"v8.3p_2012-11-23"
2. browser(s) and version(s) involved
Firefox 10.0.11 and IE 8
NVDA 2012.1 and JAWS 14.0.981
SC.setScreenReaderMode(true);
However, ComboBox does not seem to be accessible. The only way a screen reader is reading the available options of the ComobBox seems to be, when you put the mouse cursor over the option when the option list is expanded.
Instead when you step through the options with the cursor keys (down/up) screen readers always read the current value of the ComboBox instead of the highlighted option.
This also happens in the showcase (but I think screen reader mode is not turned on there) e.g.:
http://www.smartclient.com/smartgwt/showcase/#local_db_combobox_combobox_category
Analysis:
When I open available options e.g. by supplying the first character or by expanding a blank box with the picker icon, the focus always remains in the ComboBox while the only thing that is changed when moving up/down with array keys seems to be the style setting the highlighting background color. Here an example with the first option selected:
<TR role=listitem>
<TD style="BORDER-BOTTOM: #9fb7e9 1px dotted; PADDING-BOTTOM: 0px; FONT-FAMILY: Arial, Verdana, sans-serif; BACKGROUND: #d6e8ff; COLOR: black; FONT-SIZE: 11px; BORDER-TOP: #9fb7e9 1px dotted; PADDING-TOP: 0px" height=16 width=144 align=left>
<NOBR>New
</NOBR>
</TD>
</TR>
<TR role=listitem>
<TD style="PADDING-BOTTOM: 0px; FONT-FAMILY: Arial, Verdana, sans-serif; COLOR: black; FONT-SIZE: 11px; PADDING-TOP: 0px" height=16 width=144 align=left>
<NOBR>Active
</NOBR>
</TD>
</TR>
<TR role=listitem>
<TD style="PADDING-BOTTOM: 0px; FONT-FAMILY: Arial, Verdana, sans-serif; COLOR: black; FONT-SIZE: 11px; PADDING-TOP: 0px" height=16 width=144 align=left>
<NOBR>Revisit
</NOBR>
</TD>
</TR>
A ComboBox example where the selected option is read can be found here (however this one has other problems):
http://test.cita.illinois.edu/aria/combobox/combobox2.php
Additional Info:
1. I am using SmartGWT 3.1, version
"v8.3p_2012-11-23"
2. browser(s) and version(s) involved
Firefox 10.0.11 and IE 8
NVDA 2012.1 and JAWS 14.0.981
Comment