News for hackers. Stuff that matters.
Re:If it goes somewhere, it’s a link. If it does something, ... by Vinnl on Wednesday October 12, 2022 @04:21AM (#33174285)
Oh hmm yeah, you're right, I must've mixed it up with another example in my mind. Ah well, replace that with your example in my comment, and the point stands :)
Re:If it goes somewhere, it’s a link. If it does something, ... by runarberg on Wednesday October 12, 2022 @01:04PM (#33179865)
Indeed, I just remembered I actually have a SO answer where a “fake” button is one of the solutions ( https://stackoverflow.com/a/55155649/2444959 ). This question was about having an enabled button inside a disabled fieldset.

I actually do think that use cases are rare, and when you need a fake button, there are probably better solutions (in the SO question, the question author probably just wanted <details> and <summary>) but—though rare—these cases do exist.