<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIAccessibilityIdentification",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIAccessibilityIdentification"
  },
  "title" : "UIAccessibilityIdentification"
}
-->

# UIAccessibilityIdentification

Methods that associate a unique identifier with elements in your user interface.

```
protocol UIAccessibilityIdentification : NSObjectProtocol
```

## Overview

You can use the identifiers you define in UI Automation scripts because the value of <doc://com.apple.documentation/documentation/AppKit/NSAccessibility-c.protocol/accessibilityIdentifier> corresponds to the return value of the name method of `UIAElement`.

## Topics

### Accessing an element identifier

[`accessibilityIdentifier`](/documentation/UIKit/UIAccessibilityIdentification/accessibilityIdentifier)

A string that identifies the element.

## Relationships

### Conforming Types

[`UICollectionView`](/documentation/UIKit/UICollectionView)

[`UITabBarItem`](/documentation/UIKit/UITabBarItem)

[`UIMenuElement`](/documentation/UIKit/UIMenuElement)

[`UIColorWell`](/documentation/UIKit/UIColorWell)

[`UIProgressView`](/documentation/UIKit/UIProgressView)

[`UITableView`](/documentation/UIKit/UITableView)

[`UIWindow`](/documentation/UIKit/UIWindow)

[`UIButton`](/documentation/UIKit/UIButton)

[`UIAlertAction`](/documentation/UIKit/UIAlertAction)

[`UIActionSheet`](/documentation/UIKit/UIActionSheet)

[`UIListContentView`](/documentation/UIKit/UIListContentView)

[`UITextField`](/documentation/UIKit/UITextField)

[`UIKeyCommand`](/documentation/UIKit/UIKeyCommand)

[`ActivationAction`](/documentation/UIKit/UIWindowScene/ActivationAction)

[`UIMenu`](/documentation/UIKit/UIMenu)

[`UITextView`](/documentation/UIKit/UITextView)

[`UIPageControl`](/documentation/UIKit/UIPageControl)

[`UISearchTextField`](/documentation/UIKit/UISearchTextField)

[`UIRefreshControl`](/documentation/UIKit/UIRefreshControl)

[`UIVisualEffectView`](/documentation/UIKit/UIVisualEffectView)

[`UIActivityIndicatorView`](/documentation/UIKit/UIActivityIndicatorView)

[`UICalendarView`](/documentation/UIKit/UICalendarView)

[`UIBarButtonItem`](/documentation/UIKit/UIBarButtonItem)

[`UITabBar`](/documentation/UIKit/UITabBar)

[`UISlider`](/documentation/UIKit/UISlider)

[`UIPickerView`](/documentation/UIKit/UIPickerView)

[`UIDatePicker`](/documentation/UIKit/UIDatePicker)

[`UIPopoverBackgroundView`](/documentation/UIKit/UIPopoverBackgroundView)

[`UIContentUnavailableView`](/documentation/UIKit/UIContentUnavailableView)

[`UICollectionViewListCell`](/documentation/UIKit/UICollectionViewListCell)

[`UIBackgroundExtensionView`](/documentation/UIKit/UIBackgroundExtensionView)

[`UICollectionViewCell`](/documentation/UIKit/UICollectionViewCell)

[`UINavigationBar`](/documentation/UIKit/UINavigationBar)

[`UIStepper`](/documentation/UIKit/UIStepper)

[`UIToolbar`](/documentation/UIKit/UIToolbar)

[`UISwitch`](/documentation/UIKit/UISwitch)

[`UISearchTab`](/documentation/UIKit/UISearchTab)

[`UIEventAttributionView`](/documentation/UIKit/UIEventAttributionView)

[`UIScrollView`](/documentation/UIKit/UIScrollView)

[`UITableViewHeaderFooterView`](/documentation/UIKit/UITableViewHeaderFooterView)

[`UIImageView`](/documentation/UIKit/UIImageView)

[`UIView`](/documentation/UIKit/UIView)

[`UICommand`](/documentation/UIKit/UICommand)

[`UIDeferredMenuElement`](/documentation/UIKit/UIDeferredMenuElement)

[`UIAction`](/documentation/UIKit/UIAction)

[`UIImage`](/documentation/UIKit/UIImage)

[`UIStackView`](/documentation/UIKit/UIStackView)

[`UIWebView`](/documentation/UIKit/UIWebView)

[`UIAccessibilityElement`](/documentation/UIKit/UIAccessibilityElement)

[`UITabGroup`](/documentation/UIKit/UITabGroup)

[`UIBarItem`](/documentation/UIKit/UIBarItem)

[`UIPasteControl`](/documentation/UIKit/UIPasteControl)

[`UISearchBar`](/documentation/UIKit/UISearchBar)

[`UILabel`](/documentation/UIKit/UILabel)

[`UISegmentedControl`](/documentation/UIKit/UISegmentedControl)

[`UIStandardTextCursorView`](/documentation/UIKit/UIStandardTextCursorView)

[`UICollectionReusableView`](/documentation/UIKit/UICollectionReusableView)

[`UIAlertView`](/documentation/UIKit/UIAlertView)

[`UIControl`](/documentation/UIKit/UIControl)

[`UIInputView`](/documentation/UIKit/UIInputView)

[`UITab`](/documentation/UIKit/UITab)

[`UITableViewCell`](/documentation/UIKit/UITableViewCell)

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)