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

Re: popup Javascript alert - accessible?

From: Jim Ley <jim@jibbering.com>
Date: Thu, 25 Apr 2002 14:16:59 -0000
Message-ID: <016501c1ec63$dd716c40$ca969dc3@emedia.co.uk>
To: "Access Systems" <accessys@smart.net>
Cc: <w3c-wai-ig@w3.org>
"Access Systems" <accessys@smart.net>
> On Thu, 25 Apr 2002, David Woolley wrote:
>
> > > I hate those sites, Lynx sure doesn't like anything that has to do
with
> > > Javascript...I don't ever get them to submit..
> >
> > That's not a necessary problem with Javascript, just one with common
idioms
> > for its use.  If the scripting is done as an onsubmit action, and
returns
> > false on a validation error, you might just have problems with very
early
> > Netscape's, but generally browsers with script on will abort the
submission,
>
> but as I mentioned, I am not using any version of Netscape, but am
running
> Lynx, and Lynx does not like Javascript at all.
>    it doesn't abort the submission but in many(most)cases it isn't even
> possible to submit. the "submit" button doesn't function at all, if it
> even shows up.  in many cases the "button" to submit isn't even there.

Which is a problem with poorly authored script, not a problem with
javascript validation, which can be very easily done so as to be
transparent to Lynx.

<form action="/" onsubmit="if (confirm) return confirm('Are you sure?')">
<input type="submit" name="button" value"submit">
</form>

Can still be trivially submitted under lynx and has some "validation"
under some script capable browsers.

Jim.
Received on Thursday, 25 April 2002 10:22:13 GMT

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