<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSAccessibilityElementLoading",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSAccessibilityElementLoading"
  },
  "title" : "NSAccessibilityElementLoading"
}
-->

# NSAccessibilityElementLoading

A role-based protocol that declares the minimum interface necessary for an accessibility element to support loading.

```
protocol NSAccessibilityElementLoading : NSObjectProtocol
```

## Overview

You can further enhance the adopting element by implementing any of the information properties or action methods that the [`NSAccessibilityProtocol`](/documentation/AppKit/NSAccessibilityProtocol) protocol declares.

> Note:
> Any class that adopts this protocol must implement all of its methods, and the required methods of any protocol it inherits from. The compiler may require you to override some methods that your ancestors have already implemented. Simply follow the compiler’s warnings, and reimplement these methods as necessary.

## Topics

### Supporting Accessibility

[`func accessibilityElement(withToken: NSAccessibilityLoadingToken) -> (any NSAccessibilityElementProtocol)?`](/documentation/AppKit/NSAccessibilityElementLoading/accessibilityElement(withToken:))

Loads the target accessibility element with the specified load token.

[`func accessibilityRangeInTargetElement(withToken: NSAccessibilityLoadingToken) -> NSRange`](/documentation/AppKit/NSAccessibilityElementLoading/accessibilityRangeInTargetElement(withToken:))

Returns the range that specifies the area of interest in text-based accessibility elements with the specified load token.

[`typealias NSAccessibilityLoadingToken`](/documentation/AppKit/NSAccessibilityLoadingToken)

A token type for loading accessibility elements.

## Relationships

### 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)