anchor-to-button-a-geddon

Jeff: We have been using anchors even for links that are not supposed to change the URL.  This causes problems with PJAX and is annoying to work around.  Suggested resolution, after discussion: anchor tags should only be used for content that has an href and intends to change the URL.  We should use classed & styled button tags for other in-line controls.

Gary: why buttons (rather than, say, spans)? Jeff: Because they allow you to support tab and focus support. Gary: But the semantics of an anchor are sometimes correct, right?  If the text is in-line?  Jeff: they are only right if they are a link; otherwise they are a control–e.g., a button.

Everyone: OK!