<!--
{
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/speech-attributes-for-attributed-strings",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Speech attributes for attributed strings"
}
-->

# Speech attributes for attributed strings

Apply attributes to text in an attributed string to modify the pronunciation of that text.

## Topics

### Constants

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/Key/accessibilitySpeechPunctuation>

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/Key/accessibilitySpeechLanguage>

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/Key/accessibilitySpeechPitch>

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/Key/accessibilitySpeechQueueAnnouncement>

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/Key/accessibilitySpeechIPANotation>

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/Key/accessibilitySpeechAnnouncementPriority>

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/Key/accessibilitySpeechSpellOut>

[`UIAccessibilityPriority`](/documentation/UIKit/UIAccessibilityPriority)

Constants that specify priorities for accessibility announcements.

### Constants

[`UIAccessibilitySpeechAttributePunctuation`](/documentation/UIKit/UIAccessibilitySpeechAttributePunctuation)

A key that indicates whether to speak punctuation.

[`UIAccessibilitySpeechAttributeLanguage`](/documentation/UIKit/UIAccessibilitySpeechAttributeLanguage)

A key that indicates the language to use when speaking a string.

[`UIAccessibilitySpeechAttributePitch`](/documentation/UIKit/UIAccessibilitySpeechAttributePitch)

A key that indicates the pitch to apply to spoken content.

[`UIAccessibilitySpeechAttributeQueueAnnouncement`](/documentation/UIKit/UIAccessibilitySpeechAttributeQueueAnnouncement)

A key that indicates whether to queue an announcement behind existing speech or to interrupt it.

[`UIAccessibilitySpeechAttributeIPANotation`](/documentation/UIKit/UIAccessibilitySpeechAttributeIPANotation)

A key that indicates the pronunciation of a specific word or phrase, such as a proper name.

[`UIAccessibilitySpeechAttributeAnnouncementPriority`](/documentation/UIKit/UIAccessibilitySpeechAttributeAnnouncementPriority)

[`UIAccessibilitySpeechAttributeSpellOut`](/documentation/UIKit/UIAccessibilitySpeechAttributeSpellOut)

[`UIAccessibilityPriority`](/documentation/UIKit/UIAccessibilityPriority)

Constants that specify priorities for accessibility announcements.



---

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)