Posted by Andy Hassall on 09/03/06 23:44
On Sun, 3 Sep 2006 16:31:56 -0700, "Johnny" <removethis.huuanito@hotmail.com>
wrote:
>but when using images is not the alt attribute required?
http://www.w3.org/TR/html4/struct/objects.html#adef-alt
"The alt attribute must be specified for the IMG and AREA elements. It is
optional for the INPUT and APPLET elements."
... even if they are <input type="image">.
From the control type "image" in the <input> section:
http://www.w3.org/TR/html4/interact/forms.html#input-control-types
"For accessibility reasons, authors should provide alternate text for the
image via the alt attribute."
"should" not "must". So it's still valid.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|