---
title: AttributeScopes.AccessibilityAttributes.SpeechSSMLAttribute
framework: Foundation
role: symbol
role_heading: Enumeration
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: foundation/attributescopes/accessibilityattributes/speechssmlattribute
---

# AttributeScopes.AccessibilityAttributes.SpeechSSMLAttribute

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

## Declaration

```swift
@frozen enum SpeechSSMLAttribute
```

## Overview

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

- [AttributedStringKey](foundation/attributedstringkey.md)
- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [DecodableAttributedStringKey](foundation/decodableattributedstringkey.md)
- [EncodableAttributedStringKey](foundation/encodableattributedstringkey.md)
- [MarkdownDecodableAttributedStringKey](foundation/markdowndecodableattributedstringkey.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
