Boosted by kornel ("Kornel"):
chockenberry ("Craig Hockenberry") wrote:
If you're using a . onTapGesture to make something act like a Button, you will eventually hear from someone who uses VoiceOver.
And you will regret that decision as you do a lot of View refactoring. Like me, right now.
VoiceOver has nothing to read with gestures. And when you use that tap gesture for a primary input mechanism, like a close button, there's no way for that person to use it.
Don't use single tap gestures: it's a foot gun that is _very_ not obvious.