<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/speechAlwaysIncludesPunctuation(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewPAAE31speechAlwaysIncludesPunctuationyQrSbF"
  },
  "title" : "speechAlwaysIncludesPunctuation(_:)"
}
-->

# speechAlwaysIncludesPunctuation(_:)

Sets whether VoiceOver should always speak all punctuation in the text
view.

```
nonisolated func speechAlwaysIncludesPunctuation(_ value: Bool = true) -> some View
```

## Parameters

`value`

A Boolean value that you set to `true` if
VoiceOver should speak all punctuation in the text. Defaults to `true`.

## Discussion

Use this modifier to control whether the system speaks punctuation
characters in the text. You might use this for code or other text where
the punctuation is relevant, or where you want VoiceOver to speak a
verbatim transcription of the text you provide. For example, given the
text:

```
Text("All the world's a stage, " +
     "And all the men and women merely players;")
     .speechAlwaysIncludesPunctuation()
```

VoiceOver would speak “All the world apostrophe s a stage comma and all
the men and women merely players semicolon”.

By default, VoiceOver voices punctuation based on surrounding context.

---

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)