These links don't go anywhere, so I don't really need the href attribute. But I really want users to be able to tab to the buttons, if they'd like. I just read an article that suggests the following compromise:
This is supposed to be better than setting href to "#" or some other placeholder value. I guess it's mixing behavior and content, but that doesn't bother me so much. What I'm really curious about is the accessibility. I assume an ideal solution would be for browsers to support tabindex="-1", but how is this "void" in the interim?