[OpenLayers-Dev] "Action element" design choice

Nils Weinander nils.weinander at curalia.se
Tue Feb 26 02:52:10 EST 2008

Hello developers

"Action elements", like the PanZoom pan arrows and zoom +/- or
Controls in a Panel are represented by an <img> inside a <div>.

Our graphic designer would like to have an <a href> rather
than just an <img>, in order to se a title attribute (for
mouseover tool tips) and to make the elements reachable
without a mouse, by tabbing.

What is the rationale for the design choice?

Modifying the code to get an <a href> and make it possible
to set its title looks non-trivial as the creation of the
actual HTML elements is of course rather deep down. We
don't want to start doing it without some discussion of
the implications.

Nils Weinander  |  Systems Designer
Phone +46 (0)8 410 064 56
Mobile +46 (0)70 978 28 37
Curalia AB  |  www.curalia.se
Västmannagatan 15, 111 24 Stockholm, Sweden

More information about the Dev mailing list