[whatwg] href attribute
Anne van Kesteren
annevk at opera.com
Sun Mar 11 13:30:58 PDT 2007
On Sun, 11 Mar 2007 21:27:14 +0100, carmen <_ at whats-your.name> wrote:
> suppose one is building a GUI with solely <canvas> elements. say you
> have a doorway, clicking on it opens into the room, which is another
> page. forcing this stuff into onclick() just because href= is invalid,
> decreases scrapability/accessibility. is one supposed to just wrap
> canvas polygons in <a>s or something?
What does <a href=""><canvas>...</canvas></a> not offer that <canvas
href="">...</canvas> does? And if this is in fact an application you might
actually want to have the <a> as fallback of the <canvas> along with other
content...
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
More information about the whatwg
mailing list