Pseudo-buttons aren't accessible with a keyboard
I think using <div role="button" tabindex="0"> is bad. Why? We can’t push Enter and Space for interaction🆘I see <button> is the ideal choice to allow users to use UI in all needed ways😉
❤ Thank you so much, my sponsors: Ben Rinehart, Tatiana Ten