---
title: accessibilityPerformShowAlternateUI()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsaccessibilitycontainstransientui/accessibilityperformshowalternateui()
---

# accessibilityPerformShowAlternateUI()

Displays the accessibility element’s alternative UI.

## Declaration

```swift
func accessibilityPerformShowAlternateUI() -> Bool
```

## Return Value

Return Value true if the action was successfully triggered; otherwise, false. This method does not indicate the success or failure of the action, just the fact that the action was successfully triggered.

## Discussion

Discussion Use this method to trigger changes to the UI due to a mouse-hover or similar event.

## See Also

### Supporting Accessibility

- [accessibilityPerformShowDefaultUI()](appkit/nsaccessibilitycontainstransientui/accessibilityperformshowdefaultui().md)
- [isAccessibilityAlternateUIVisible()](appkit/nsaccessibilitycontainstransientui/isaccessibilityalternateuivisible().md)
