<div dir="ltr">What about an alternative attribute like "navigate" instead of "href". It would not carry the full weight of the anchor tag, but would handle the 90% use case. It would not allow for the same options as the a tag, and the a tag would continue to work the same way that it has been.<br>
<br><div class="gmail_quote">On Wed, Jul 30, 2008 at 10:45 AM, Smylers <span dir="ltr"><<a href="mailto:Smylers@stripey.com">Smylers@stripey.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ian Hickson writes:<br>
<br>
> ... global href="" attribute for all elements ... Unfortunately, I've<br>
<div class="Ih2E3d">> been told over and over by implementers that a global href="" is a bad<br>
> idea<br>
<br>
</div>Noted.<br>
<br>
However:<br>
<div class="Ih2E3d"><br>
> <div class="ad"<br>
> onclick="this.getElementsByTagName('a')[0].click()"><br>
><br>
</div><div class="Ih2E3d">> <article class="teaser"<br>
> onclick="location = this.getElementsByTagName('a')[0]"><br>
><br>
</div><div class="Ih2E3d">> On Thu, 29 May 2008, Frank Hellenkamp wrote:<br>
><br>
> > In the best case the whole rectangle of the teaser is clickable. At the<br>
> > moment you need some javascript or an a-tag with "display: block" for<br>
> > it, to get this behavior (see example in my last mail).<br>
><br>
> I don't think the JS is a big deal.<br>
<br>
</div>Compared to <a href="...">, using onlick events generally provides a<br>
worse user experience, such as the status bar not being updated to<br>
indicate a link's destination in advance of committing to navigate<br>
there.<br>
<br>
It may be, given implementers' requirements, that JavaScript solutions<br>
like the above are the best we can do. But let's not pretend they are<br>
as good as links that don't involve scripting.<br>
<font color="#888888"><br>
Smylers<br>
</font></blockquote></div><br></div>