[whatwg] href attribute

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/>

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