WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Optgroup with onchange event in IE6 (keyboard accessibility question)

for

From: ben morrison
Date: Nov 4, 2009 3:50AM


On Tue, Nov 3, 2009 at 5:14 PM, Chadwick-Dias, AnnMarie
< <EMAIL REMOVED> > wrote:
...
<optgroup label='------------------'></optgroup>
...

Is that code correct?

the optgroup should enclose the option elements

<optgroup label='------------------'>
<option value="07/01/2009,09/30/2009">Q3 2009 (Jul-Sep)</option>
<option value="04/01/2009,06/30/2009">Q2 2009 (Apr-Jun)</option>
<option value="01/01/2009,03/31/2009">Q1 2009 (Jan-Mar)</option>
</optgroup>

ben
--
Ben Morrison