Re: JavaScript alerts

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 UTC