Pow icon indicating copy to clipboard operation
Pow copied to clipboard

Global option to disable POW effects when voiceover is activated

Open iTarek opened this issue 2 years ago • 0 comments

POW is not necessarily suitable for users who utilize voiceover. It can also damage the voiceover and occasionally create an excessively large accessibility rectangle with effects like (.spray, glow, etc..). I would like to propose a global option to disable POW effects when voiceover is activated. At present, I have to do this manually.

                            .if(!UIAccessibility.isVoiceOverRunning) {
                                $0.changeEffect(
                                    .spray(origin: UnitPoint(x: 0.25, y: 0.5)) {
                                        Image(systemName: isFavorite ? "heart.fill" : "xmark")
                                            .foregroundStyle(isFavorite ? .red : .gray)
                                    }, value: itemsModel.favoriteItems.contains(item))
                            }

iTarek avatar Dec 13 '23 16:12 iTarek