E-mail List Archives

Re: JAWS and disabled combobox options

for

From: Joan Preston
Date: Jan 18, 2017 2:57PM


From a developer/UI perspective and with a database backend: the user would select the state and then the county select would be populated. I think a list with all the counties in the US would be rather long and if you lived in a state that in near the end of the alphabet, that would take some time to get through the list whether you are sighted or not.

Basically, designing a good UI would be the key to not having a select with options disabled.

Thanks,

Joan Preston
Web Accessibility Coordinator
ITS - California State University, Long Beach


-----Original Message-----
From: Jonathan Avila [mailto: <EMAIL REMOVED> ]
Sent: Wednesday, January 18, 2017 10:43 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] JAWS and disabled combobox options

> in my testing in windows (IE, FF, and chrome) first letter navigation worked in a select with optgroup.

So for example, if the optgroup name is "Mobile" pressing "m" does not take me to the first item under mobile.

Jonathan

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Jim Allan
Sent: Wednesday, January 18, 2017 1:33 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] JAWS and disabled combobox options

in my testing in windows (IE, FF, and chrome) first letter navigation worked in a select with optgroup.

On Wed, Jan 18, 2017 at 10:40 AM, Jonathan Avila < <EMAIL REMOVED>
> wrote:

> > Looks like the developer should have used optgroup instead of
> > disabled
> options. The States are groups, but not values themselves.
>
> Except use of optgroup doesn't allow for keyboard navigation using
> first letter of the item in the optgroup. And optgroup isn't well
> supported by assistive technology in my experience.
>
> Jonathan
>
> -----Original Message-----
> From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On
> Behalf Of _mallory
> Sent: Wednesday, January 18, 2017 7:37 AM
> To: WebAIM Discussion List
> Subject: Re: [WebAIM] JAWS and disabled combobox options
>
> Looks like the developer should have used optgroup instead of disabled
> options. The States are groups, but not values themselves.
>
> cheers,
> _mallory
>
> On Thu, Jan 12, 2017 at 08:09:10AM -0600, JP Jamous wrote:
> > Thank you Bryan. That makes more sense to me now.
> >
> > -----Original Message-----
> > From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On
> > Behalf Of Bryan Garaventa
> > Sent: Thursday, January 12, 2017 12:06 AM
> > To: WebAIM Discussion List < <EMAIL REMOVED> >
> > Subject: Re: [WebAIM] JAWS and disabled combobox options
> >
> > No problem, happy to help. :) One note for others, the bookmarklet
> > was
> simply a personal utility I created to work around some accessibility
> issues I was encountering, but this should not ever be part of any
> development strategy for making something like this accessible.
> >
> > To answer a prior question from JP Jamous, the scenario described
> > has
> only one select element.
> >
> > E.G Example syntax:
> >
> > <select title="Choose a County" >
> > <option >Arizona</option>
> > <optgroup>
> > <option> County Name One </option>
> > <option> County Name Two </option>
> > </optgroup>
> > <option >California</option>
> > <optgroup>
> > <option> County Name One </option>
> > <option> County Name Two </option>
> > </optgroup>
> > </select>
> >
> > You can quickly jump to California by typing "cal".
> >
> > However if you try the following instead, this is impossible.
> >
> >
> > <select title="Choose a County" >
> > <option disabled >Arizona</option>
> > <optgroup>
> > <option> County Name One </option>
> > <option> County Name Two </option>
> > </optgroup>
> > <option disabled >California</option> <optgroup>
> > <option> County Name One </option>
> > <option> County Name Two </option>
> > </optgroup>
> > </select>
> >
> > This is why this practice should never be done.
> >
> > Instead, client side scripting should be used to check the value of
> > such
> options and prevent submission if the intended value is not selected.
> >
> >
> >
> > Bryan Garaventa
> > Accessibility Fellow
> > SSB BART Group, Inc.
> > <EMAIL REMOVED>
> > 415.624.2709 (o)
> > www.SSBBartGroup.com
> > > archives at http://webaim.org/discussion/archives
> > > > archives at http://webaim.org/discussion/archives
> >



--
Jim Allan, Accessibility Coordinator
Texas School for the Blind and Visually Impaired
1100 W. 45th St., Austin, Texas 78756
voice 512.206.9315 fax: 512.206.9264 http://www.tsbvi.edu/
"We shape our tools and thereafter our tools shape us." McLuhan, 1964