<!--
{
  "documentType" : "article",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/uiaccessibilityfocus",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "UIAccessibilityFocus"
}
-->

# UIAccessibilityFocus

An informal protocol that provides a way to determine whether an assistive app, such as VoiceOver, has focus on an accessible element.

## Discussion

VoiceOver and other assistive technologies place a virtual focus on elements, which allows users to inspect an element without activating it. If you know the current location of the virtual focus, you can optimize the user experience for assistive technology users. For example, if your application expects people to tap once to select an object and then double-tap to activate it, VoiceOver users must make an extra tap to focus VoiceOver on the object before tapping to select it. To improve the VoiceOver user’s experience, you can move selection to an element at the same time VoiceOver focuses on the element. In this way, the user can activate the element without having to tap again to select the element.

## Topics

### Getting focus information

[`accessibilityElementDidBecomeFocused()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityElementDidBecomeFocused())

Sent after an assistive technology has set its virtual focus on the accessibility element.

[`accessibilityElementDidLoseFocus()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityElementDidLoseFocus())

Sent after an assistive technology has removed its virtual focus from an accessibility element.

[`accessibilityElementIsFocused()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityElementIsFocused())

Returns a Boolean value indicating whether an assistive technology is focused on the accessibility element.

[`accessibilityAssistiveTechnologyFocusedIdentifiers()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityAssistiveTechnologyFocusedIdentifiers())

Returns a set of identifier keys indicating which assistive app has focus on the accessibility element.

## See Also

  [Accessibility Programming Guide for iOS](https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/iPhoneAccessibility/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008785)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)