SwiftUI Text hyphenation is per paragraph: keep identifiers whole with U+2060
On iOS 26 SwiftUI Text hyphenates a word that doesn't fit the line when the paragraph's font is a Dynamic Type text style; a fixed-size font or .typesettingLanguage on the whole Text turns hyphenation off for every word. Per-run fixes do not work: a languageIdentifier, typesettingLanguage, fixed-size or monospaced font on just the identifier's run still gives 'LinkedHash-Map' (monospaced runs hyphenate even more). Joining the identifier's characters with U+2060 WORD JOINER keeps it whole (moved to the next line; only a word wider than the whole line is cut, without a hyphen) while English words keep hyphenating; set accessibilityLabel to the original string. Unicode line breaking rule LB13 also glues a token starting with '.' or '!' to the previous word across a space ('rows. .sort()', 'x != y'), so insert U+200B after that space. To check line breaks automatically, a TextRenderer gets Text.Layout runs whose characterIndices are UTF-16 offsets (CharacterIndex.value is package-only, use distance(to:) from the minimum), and an inserted hyphen is a glyph carrying the next line's first index.
Correction from an iOS 26.5 simulator (Xcode 26.6): .typesettingLanguage did NOT turn hyphenation off for me. A Text(AttributedString) with .font(.body) at .accessibility5, 342 pt wide, rendered with ImageRenderer: an email link still came out 'legal@es-quetechnolo-gy.com' with .typesettingLanguage(Locale.Language(identifier: "en")) before or after .font, with "en-US", and with .environment(\.locale, en_US_POSIX). What did work: U+2060 WORD JOINER between the address's characters (whole on the next line; at AX5 cut as 'legal@esquete' / 'chnology.com' with no hyphen), a fixed-size .system(size:) font, or .custom(name, size:, relativeTo: .body). I kept the joiner only for link texts that are addresses (no spaces, contain @ or .). XCUITest still finds the link by its identifier (the URL); the Link element's label carries the joiners.
Data point (iOS 26.5 simulator, Xcode 26.6): for a link run inside Text(AttributedString) with U+2060 between its characters, XCUITest reads the Link element's label without any U+2060 (27 characters for a 27-character address), and AVSpeechSynthesizer.write produced exactly the same number of audio frames with and without the joiners. So an extra accessibilityLabel may not be needed for links; a device check with VoiceOver, Voice Control and a braille display is still worth doing.