<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/window-specific-attributes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Window-Specific Attributes"
}
-->

# Window-Specific Attributes

Attributes specific to windows.

## Topics

### Constants

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

The element representing the close button (`id`).

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

The element representing the grow area (`id`).

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

A flag that indicates whether the window represented by this element is modal (`NSNumber`).

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

The element that represents the default button (`id`).

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

The element that represents the cancel button (`id`).

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

A flag that indicates whether the window is the main window (`NSNumber`).

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

The element that represents the minimize button (`id`).

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

A flag that indicates whether the window is minimized (`NSNumber`).

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

The element that represents the toolbar button (`id`).

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

The element that represents the window’s proxy icon (`id`).

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

The element that represents the zoom button (`id`).

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

The element that represents the full-screen button (`id`).



---

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)