What is UIAccessibilityTraitUpdatesFrequently in iOS UIAccessibility?

1.2k views Asked by At

I'm developing application which is also for blind people. I'm using UITextField, where 508/VA(Professional Testing team) asking us to implement UIAccessibilityTraitUpdatesFrequently. I went through documentation from Apple, but I didn't got any methods where I can observe UIAccessibilityTraitUpdatesFrequently notification.

I have same kind question like

UITextView setup for Voice Over to select/read by paragraph

accessibilityTraits support in ios 7

but I'm not getting how to use this UIAccessibilityTraitUpdatesFrequently.I'm not getting any notification method for this.

Your help will be appreciated.

1

There are 1 answers

0
Justin On

You are not expected to process notifications for UIAccessibilityTraitUpdatesFrequently. Accessibility elements advertise traits describing their behavior. The updates frequently trait is intended to inform accessibility clients that an element's content changes very often, perhaps even too often for users to perceive every change. When VoiceOver encounters an element with this trait, it announces the value at periodic intervals rather than with every single change.

For a more detailed explanation of UIAccessibilityTraitUpdatesFrequently, see this blog post by Keith Harrison. You may also find Apple's Accessibility Programming Guide for iOS helpful (especially the linked section on traits).