[whatwg] href attribute
carmen
_ at whats-your.name
Sun Mar 11 13:35:44 PDT 2007
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/>
>
More information about the whatwg
mailing list