WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Server-side image maps definition?


From: Patrick H. Lauke
Date: Aug 29, 2005 4:45PM

Hoffman, Allen wrote:
> I read that looking for "input type"image" indicates an image map is on
> a page. M ai missing something, or is this inaccurate.

input type="image" does not necessarily indicate a (server-side) image
map. Yes, when clicked with the mouse the browser submits the current
form and passes on X and Y coordinates...something which can't be done
via the keyboard or alternative input devices. However, many times image
inputs are simply used as graphical submit buttons, where X and Y are
actually irrelevant and there's no special behaviour depending on where
a user clicked. In that situation, they can actually work for keyboard
users as well...it just submits the form, but doesn't pass any X and Y.

Patrick H. Lauke