W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2002

Re: JavaScript alerts

From: Charles McCathieNevile <charles@w3.org>
Date: Mon, 9 Sep 2002 04:03:18 -0400 (EDT)
To: Steve Vosloo <stevenvosloo@yahoo.com>
cc: WAI IG <w3c-wai-ig@w3.org>
Message-ID: <Pine.LNX.4.30.0209090401100.16827-100000@tux.w3.org>

An alert box is a system convention that users will understand (or need to
learn) if they use the system at all. So from that perspective it should make
sense.

It still depends on what the alert says, and so on. And you should have
server-side validation in any case, because no everyone will have scripting
turned on and it is generally helpful to validate the data before trying to
process it further (for security if nothing else).

just my tuppeny'orth

Chaals

On Mon, 9 Sep 2002, Steve Vosloo wrote:

>
>I have form that uses JavaScript to perform client-side validation, i.e.
>when the user hits submit without filling in the first name an alert box
>pops up. Is this bad accessibility? Should I use server-side validation
>to avoid popups that change the user focus?
>
>Thanks
>Steve
>
>Steve Vosloo
>Division Manager
>Usability Junction
>
>Tel:    + 27 (0) 21 409 7961
>Fax:   + 27 (0) 21 409 7050
>Cell:   + 27 (0) 83 463 0012
>Web:  www.usabilityjunction.com
>

-- 
Charles McCathieNevile  http://www.w3.org/People/Charles  tel: +61 409 134 136
SWAD-E http://www.w3.org/2001/sw/Europe ------------ WAI http://www.w3.org/WAI
 21 Mitchell street, FOOTSCRAY Vic 3011, Australia  fax(fr): +33 4 92 38 78 22
 W3C, 2004 Route des Lucioles, 06902 Sophia Antipolis Cedex, France
Received on Monday, 9 September 2002 04:03:19 GMT

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