---
title: currentSpeech()
framework: xcuiautomation
role: symbol
role_heading: Instance Method
path: xcuiautomation/xcuivoiceoverservice/currentspeech()
---

# currentSpeech()

Return the speech for the currently focused element.

## Declaration

```swift
func currentSpeech() throws -> XCUIVoiceOverService.Output
```
