To ensure that the buttons (and also the preview button on line 4) are in the keyboard tab order they should contain an href value. Equally you could instead use the <button> element.

If an anchor is used ensure to return false to stop the browser history navigating to #