<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSAccessibility-swift.struct/OrientationValue",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@T@NSAccessibilityOrientationValue"
  },
  "title" : "NSAccessibility.OrientationValue"
}
-->

# NSAccessibility.OrientationValue

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

```
struct OrientationValue
```

## Topics

### Orientations

[`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.

### Initializers

[`init(rawValue: String)`](/documentation/AppKit/NSAccessibility-swift.struct/OrientationValue/init(rawValue:))

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)