[Accessibility_sig] JavaScript Checkbox Help Needed

McMillen, Node Node.McMillen at hhsc.state.tx.us
Mon Feb 26 10:18:10 CST 2007


Thank you.  That does eleminate one message that users will have to click
off.  Our curriculum developers are not computer developers.  They use
Authorware for their products.  I take their products and try to get as
close as I can using html mostly (with a little JavaScript thrown in for the
assesments at the end).  Persons with limited vision tested my program
before I submitted it for DARS approval (which it received).  They had no
problem with the input box for validation.  This was not a problem until it
was discovered that sighted non-employees will be using my programs because
they can't get access to the programs in the agency learning management
system and most don't have the Authorware Player.  

Our curriculum designers are concerned that the sighted non-employees will
have a problem with the validation box and with having to click it off
twice. 

The coding sample you sent will make them a little happier.

Now, if you could just find an Active Server Pages (and VisualBasic) class
that I can take locally . . . .



Nodé McMillen, Ph.D.
Distance Learning Technician
Competency Training and Development
Facility Support Services
Health and Human Services Commission
Telephone: 512-206-4527
Fax: 512-206-5986
E-mail: node.mcmillen at hhsc.state.tx.us
Mail Code: 2059
http://www2.hhsc.state.tx.us/655/supportsvcs/CTD/CTD_default.shtm 


-----Original Message-----
From: accessibility_sig-bounces at knowbility.org
[mailto:accessibility_sig-bounces at knowbility.org] On Behalf Of James Craig
Sent: Sunday, February 25, 2007 6:58 PM
To: Discussion list for web and software accessibility issues
Subject: Re: [Accessibility_sig] JavaScript Checkbox Help Needed

McMillen, Node wrote:

> I added an alert to the checkbox that tells the user to uncheck the 
> box and "select an answer from a, b, c or d listed below."  However, 
> if the person does uncheck the box, they get the alert again and have 
> to click OK again.  Our designers/developers believe this will be 
> disconcerting for the users.  Does anyone know a fix for this problem, 
> a self close for the alert box, . . . ?

You have developers that don't know how to fix this? I'd suggest hiring
someone that knows JavaScript.

By your description I assume you've added something like this:

  onclick="alert('uncheck me')"

If thatt's the case, you can switch it to do what you want by changing it
to:

  onclick="if (this.checked) alert('uncheck me')"

However, your accessibility problem comes not from the alerts but from the
fact that you're using checkboxes for validation. I can't say for sure since
I haven't seen it, but you may want to reconsider the user experience aspect
of your web app.

James

_______________________________________________
Accessibility_sig mailing list
Accessibility_sig at knowbility.org
http://knowbility.org/mailman/listinfo/accessibility_sig_knowbility.org



More information about the Accessibility_sig mailing list