<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/miscellaneous-attributes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Miscellaneous Attributes"
}
-->

# Miscellaneous Attributes

Miscellaneous attributes that can apply to various types of elements.

## Topics

### Constants

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

The element that represents the clear button in a search field (`id`).

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

The elements that represent the column titles (`NSArray`).

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

The element that represents a stepper’s decrement button (`id`).

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

The URL for the file represented by the element (`NSString`).

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

A flag that indicates whether the element has been modified (`NSNumber`).

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

A flag that indicates whether the element is expanded (`NSNumber`).

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

The filename associated with the element (`NSString`).

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

The element that represents a table view’s header (`id`).

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

The element that represents a scroll view’s horizontal scroll bar (`id`).

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

The element that represents a stepper’s increment button (`id`).

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

The index of the row or column represented by the element (`NSValue`).

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

The elements representing the contents that follow the current divider element, such as a subview adjacent to a split view’s splitter element (`NSArray`).

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

The element’s orientation.

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

The element that represents a toolbar’s overflow button (`id`).

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

The elements representing the contents that precede the current divider element, such as a subview adjacent to a split view’s splitter bar element (`NSArray`).

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

The element that represents the search button in a search field (`id`).

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

The element that represents the menu in a search field (`id`).

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

A flag that indicates whether the element is selected (`NSNumber`).

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

The views and splitter bar in a split view (`NSArray`).

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

The tab elements in a tab view (`NSArray`).

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

The URL associated with the element (`NSURL`).

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

The element that represents the vertical scroll bar in a scroll view (`id`).

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

The warning value in a level indicator (typically, `NSNumber`).

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

The critical value in a level indicator (typically, `NSNumber`).

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

The placeholder value for a control, such as a text field (`NSString`).

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

A flag that indicates whether the object contains protected content.

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

The identity of the element (`NSString`).



---

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)