<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributeScopes/AccessibilityAttributes/SpeechSSMLAttribute",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation",
      "Accessibility"
    ],
    "preciseIdentifier" : "s:10Foundation15AttributeScopesO13AccessibilityE0D10AttributesV19SpeechSSMLAttributeO"
  },
  "title" : "AttributeScopes.AccessibilityAttributes.SpeechSSMLAttribute"
}
-->

# AttributeScopes.AccessibilityAttributes.SpeechSSMLAttribute

An attribute for an SSML fragment describing how the annotated range should be spoken.

```
@frozen enum SpeechSSMLAttribute
```

## Overview

The value is an SSML fragment string. Assistive technologies that produce speech
use the fragment to determine pronunciation, language, pacing, and emphasis for
the annotated range. Non-speech clients (e.g. Braille) ignore this attribute.

When present, this attribute takes precedence over the older single-purpose
speech attributes (IPA notation, spell out, pitch, punctuation, language).

## Relationships

### Conforms To

[`DecodableAttributedStringKey`](/documentation/Foundation/DecodableAttributedStringKey)

[`MarkdownDecodableAttributedStringKey`](/documentation/Foundation/MarkdownDecodableAttributedStringKey)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`AttributedStringKey`](/documentation/Foundation/AttributedStringKey)

[`EncodableAttributedStringKey`](/documentation/Foundation/EncodableAttributedStringKey)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Copyable`](/documentation/Swift/Copyable)

---

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)