<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/orientations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Orientations"
}
-->

# Orientations

Values that indicate the orientation of elements, such as scroll bars and split views.

## Discussion

Use these values with an accessibility element’s [`orientation`](/documentation/AppKit/NSAccessibility-swift.struct/Attribute/orientation) property.

## Topics

### Constants

[`static let horizontal: NSAccessibility.OrientationValue`](/documentation/AppKit/NSAccessibility-swift.struct/OrientationValue/horizontal)

The element is oriented horizontally.

[`static let vertical: NSAccessibility.OrientationValue`](/documentation/AppKit/NSAccessibility-swift.struct/OrientationValue/vertical)

The element is oriented vertically.

[`static let unknown: NSAccessibility.OrientationValue`](/documentation/AppKit/NSAccessibility-swift.struct/OrientationValue/unknown)

The element has unknown orientation.



---

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)