DEV Community

Discussion on: Should a button communicate the current state, the intended behavior, or both?

Collapse
 
karataev profile image
Eugene Karataev

What about touch devices? They don't have hover effects.

Collapse
 
awwsmm profile image
Andrew (he/him)

This is a huge part of mobile UI that I think a lot of people overlook if they're more focused on desktop. I think you should always design as though hover is not an option, only using it to add extra clarity, but not relying on it to convey the meaning of a button, etc.

Collapse
 
nickytonline profile image
Nick Taylor

I answered it here.

Good point about touch/mobile with hover. I should have took a bit more time before answering. 🙃

Looks like Twitter on mobile just shows Following and when you click it, you get the same prompt as desktop prompting you to make sure you really want to unfollow. I agree having just unfollow text would have made sense here like you suggest.