W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 1998

Re: <select> element (html 4.0)

From: Al Gilman <asgilman@access.digex.net>
Date: Tue, 24 Nov 1998 20:41:58 -0500 (EST)
Message-Id: <199811250141.UAA06797@access1.digex.net>
To: rich@accessexpressed.net, rjc@mit.edu, rcaloggero@bhcc.state.ma.us
Cc: w3c-wai-ig@w3.org
The choice of scripting language is up to you.  The DOM level 1
per W3C includes a "selected" boolean attribute on each OPTION in
the SELECT.  That is what you want to read to find out which of
them have this status.

Check your local browser's DOM implementation for conformance
with W3C level 1 DOM, but that it the general idea of what you
want to look for.

Al

Reference:

<http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html.html#ID-70901257>

to follow up on what Rich Caloggero said:

> I've been playing around with various form elements with msie4.1 and JFW 
> (screen reader). The <select> element it particularly troublesome. If the 
> multi attribute is set, it is impossible to tell which elements in the list 
> are selected and which are not. What distinguished them? There seems to be 
> a onchange (or something like that) attribute which lets you specify a 
> script to execute when the value of an option changes. What kind of script 
> -- jscript/javascript? How can this cummunicate its results to the screen 
> reader? If anyone has ie4.1 and can at least tell me how these selection 
> lists are rendered and how things change when something is either selected 
> or deselected, I can probably write some kind of screen-reader script to 
> identify these changes. Thanx for any info...
> 
> 					Rich
> 
> 
Received on Tuesday, 24 November 1998 20:42:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:40 GMT