Pseudo-buttons aren't accessible with a keyboard
I often face buttons that are created using <div role="button" tabindex="0">. Why is bad? 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😉
P.S.
❤ Thank you so much, my sponsors: Ben Rinehart, Tatiana Ten, Konstantinos Kapenekakis