1. @danwrong your rant about not using anchor tags for js, do you have that in blog form anywhere I can share? Sure you're more eloquent then I
  2. @robb1e I don't no but surely @adactio or someone has pointed out the badness in writing somewhere.
  3. @danwrong @adactio stackoverflow.com/questions/1348… seems to discuss in some details, suggesting href=js:void or click even on span as safer alternative
  4. @robb1e I'm harder line than that. If you've not got a URL to link to just don't use an anchor. Don't care what alternative to a URL.
  5. @danwrong good call. Do you have a best practice alternative for an interactive element?
  6. @robb1e depends on the context. Just pick something that makes as much semantic sense as possible. Even div/span is better than a.

Did you find this story interesting? Be the first to or comment.

Liked!

Robbie Clutton

Software engineer, general geek and bruised snowboarder.

Total views
63

Storify

@Storify