News for hackers. Stuff that matters.
Re:The Button Cheat Sheet by avocadoLife on Tuesday May 25, 2021 @11:27AM (#27278097)
I've heard this rule of thumb:

If it is supposed to be a meaningful link - be it internal or external - use a direct anchor element with an href. Styling it however you like shouldn't hurt.

Otherwise, for any other interactions use a <button> element

Re:The Button Cheat Sheet by vidyesh on Tuesday May 25, 2021 @02:29PM (#27280442)
Me too! And I been following this for as long as I remember. iirc, Digital A11Y too recommends that.