<!--
{
  "availability" : [
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKInterfaceObject/setIsAccessibilityElement(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKInterfaceObject(im)setIsAccessibilityElement:"
  },
  "title" : "setIsAccessibilityElement(_:)"
}
-->

# setIsAccessibilityElement(_:)

Sets whether the object is an accessibility element that an assistive app can access.

```
func setIsAccessibilityElement(_ isAccessibilityElement: Bool)
```

## Parameters

`isAccessibilityElement`

<doc://com.apple.documentation/documentation/Swift/true> if the object is an accessibility element or <doc://com.apple.documentation/documentation/Swift/false> if it is not.

## Discussion

Use this method to change the accessibility status of your interface objects.

---

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)