Expanding on this question,
For items that trigger dialogs and menus (i.e. non navigational), is it good practice to leave out the HREF attribute in links that have events that are hooked up via JavaScript? In these cases, does it makes sense to have HREF there at all?
From this: <a href="javascript://">some text</a>
Or even worse, this: <a href="#">some text</a> (which forces you to use event.preventDefault())
to this: <a>some text</a>
==Edited a little more==
Bad, bad idea. It wont show up as a link for one thing. If you need a button, but are use an
<a>as one, just using a<button>or<input type="button">. As you said, “non-navigational”. The entire point of<a>is navigational.Out of those two tho, use
href="#"puttingjavascript://in a link is worse than adding inline styles.