VoiceOver Announces Element Twice on After Posting screenChanged

VoiceOver announces the accessibility information for an element twice when I shift focus to that element. I set the focus using:

UIAccessibility.post(notification: .screenChanged, argument: accessibilityElement)

This is invoked at the dismissal of a modal view, after the accessibility value of the element has been changed. When the element receives focus, VoiceOver announces the element and it's old value, then announces the element and it's new value.

Is there a way to prevent VoiceOver from announcing the element the first time? I only want this to happen after the new value has been set.

Post not yet marked as solved Up vote post of SeanBay Down vote post of SeanBay
1.2k views

Replies

Same here. Need to fix this accessibility bug