speechAnnouncementsQueued
Controls whether to queue pending announcements behind existing speech rather than interrupting speech in progress.
Declaration
compose().speechAnnouncementsQueued(value?: boolean)func speechAnnouncementsQueued(_ value: Bool = true) -> TextParameters
valuebooleanA Boolean value that determines if VoiceOver speaks changes to text immediately or enqueues them behind existing speech. Defaults to
true.
Discussion
Use this modifier when you want affect the order in which the accessibility system delivers spoken text. Announcements can occur automatically when the label or value of an accessibility element changes.
See also
More in Text modifiers.
- accessibilityHeadingSets the accessibility level of this heading.
- accessibilityLabelAdds a label to the view that describes its contents.
- accessibilityTextContentTypeSets an accessibility text content type.
- baselineOffsetSets the vertical offset for the text relative to its baseline.
- boldApplies a bold font weight to the text.
- fontSets the default font for text in the view.
- fontDesignSets the font design of the text.
- fontWeightSets the font weight of the text.
- fontWidthSets the font width of the text.
- foregroundStyleSets the style of the text displayed by this view.
- italicApplies italics to the text.
- kerningSets the spacing, or kerning, between characters.