Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 162 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Stack Exchange often uses the <a> HTML element where it should use the <button> element. For example, on the profile page I can sort my answers by "votes", "activity" or "newest":

The HTML markup for these tabs is as follows:

<div class="subtabs user-panel-subtabs">
  <a href="javascript:void(0)" class="youarehere" data-sort-id="votes">votes</a>
  <a href="javascript:void(0)" data-sort-id="activity">activity</a>
  <a href="javascript:void(0)" data-sort-id="newest">newest</a>
</div>

These should be <button>s, not <a>s. See The Difference Between Anchors, Inputs and Buttons and Which “href” value to use for JavaScript links: “#” or “javascript:void(0)”?

share|improve this question

You must log in to answer this question.

Browse other questions tagged .