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

Re: images used as form submit buttons

From: Andrew Kirkpatrick <andrew_kirkpatrick@wgbh.org>
Date: Fri, 24 May 2002 11:45:47 -0400
To: "Scarlett Julian (ED)" <Julian.Scarlett@sheffield.gov.uk>, <w3c-wai-ig@w3.org>
Message-ID: <B913D86B.11A4D%andrew_kirkpatrick@wgbh.org>
Validates fine with (and without) the alt attribute.  JAWS will read title
or alt, but I find it easier to tell developers that when they use an image,
they always use alt.

code starts...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"
/>
    <title>form test</title>

</head>
<body>
<form action="foo" method="get">
<input type="text" name="foo" />
<input type="image" src="image.gif" name="foo" value="foo" alt="submit" />
</form>
</body>
</html>

...code ends.


On 5/24/02 11:19 AM,  Scarlett Julian (ED)
(Julian.Scarlett@sheffield.gov.uk) wrote:

> <input type="image" src="foo.gif" alt="submit" width="50"
>> height="20" />

-- 
Andrew Kirkpatrick
CPB/WGBH National Center for Accessible Media
125 Western Ave.
Boston, MA  02134
E-mail: andrew_kirkpatrick@wgbh.org
Web site: ncam.wgbh.org

617-300-4420 (direct voice/FAX)
617-300-3400 (main NCAM)
617-300-2489 (TTY)

WGBH enriches people's lives through programs and services that educate,
inspire, and entertain, fostering citizenship and culture, the joy of
learning, and the power of diverse perspectives.
Received on Friday, 24 May 2002 11:46:21 GMT

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