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

[whatwg] href attribute

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 11 Mar 2007 21:30:58 +0100
Message-ID: <op.to1klwyz64w2qv@id-c0020.driveway.uu.nl>
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  

Anne van Kesteren
Received on Sunday, 11 March 2007 13:30:58 UTC

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