<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSAccessibility-c.protocol/accessibilityFrame",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSAccessibility(py)accessibilityFrame"
  },
  "title" : "accessibilityFrame"
}
-->

# accessibilityFrame

The accessibility element’s frame in screen coordinates.

```
@property NSRect accessibilityFrame;
```

## Discussion

This property is accessed by the system whenever an accessibility client requests the element’s size or position.

> Note:
> If you are working with an ``doc://com.apple.appkit/documentation/AppKit/NSAccessibilityElement-swift.class`` subclass, use the ``doc://com.apple.appkit/documentation/AppKit/NSAccessibilityElement-swift.class/accessibilityFrameInParentSpace`` property instead. The ``doc://com.apple.appkit/documentation/AppKit/NSAccessibilityElement-swift.class/accessibilityFrameInParentSpace`` property ensures that accessibility element objects move when their parents move.

## See Also

[`static func screenRect(fromView: NSView, rect: NSRect) -> NSRect`](/documentation/AppKit/NSAccessibility-swift.struct/screenRect(fromView:rect:))

Returns the frame in screen coordinates.

[`@property NSRect accessibilityFrameInParentSpace;`](/documentation/AppKit/NSAccessibilityElement-swift.class/accessibilityFrameInParentSpace)

The accessibility element’s frame in its parent’s coordinate system.



---

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)