<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSAttributedString/Key/accessibilitySpeechPunctuation",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@UIAccessibilitySpeechAttributePunctuation"
  },
  "title" : "accessibilitySpeechPunctuation"
}
-->

# accessibilitySpeechPunctuation

A key that indicates whether to speak punctuation.

```
nonisolated static let accessibilitySpeechPunctuation: NSAttributedString.Key
```

## Discussion

The value of this key is an [`NSNumber`](/documentation/Foundation/NSNumber) object that the system interprets as a Boolean value. When the value is <doc://com.apple.documentation/documentation/Swift/true>, the assistive app speaks all punctuation in the text. You might use this for code or other text where the punctuation is relevant.

---

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)