W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] href attribute

From: carmen <_@whats-your.name>
Date: Sun, 11 Mar 2007 16:35:44 -0400
Message-ID: <20070311203544.GC18366@replic.net>
On Sun Mar 11, 2007 at 09:30:58PM +0100, Anne van Kesteren wrote:
> 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 

well i was thinking like <canvas><rect id=trees /><rect name=door href=room.html /></canvas>. i guess its not that simple yet..

> <canvas> along with other content...
> 
> 
> --
> Anne van Kesteren
> <http://annevankesteren.nl/>
> <http://www.opera.com/>
> 
Received on Sunday, 11 March 2007 13:35:44 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC