Forum Discussion
Making buttons not clickable once they have been clicked
Worked like a charm!
I hate to admit it, but I wasn't thinking about accessibility factors back when I wrote that reply. Yes, a transparent shape works to prevent someone from clicking a button. However, it doesn't prevent someone from accessing the button underneath with their keyboard.
Thus, it's best to use the Disabled state when a button should no longer be clickable. Otherwise, the entire interaction may need to be redesigned so it works properly with a mouse or a keyboard.
- kevinIndreland2 months agoCommunity Member
I feel your pain on accessibility. We have been down that road and you can check all the boxes and still come up short. But your innovative solution certainly helped us out, instead of having to do hours of more solution searching! Thanks for your contribution and knowledge!