Skip to content

Accessibility macOS xcode27.0 b5

Alex Soto edited this page Aug 10, 2026 · 1 revision

#Accessibility.framework

diff -ruN /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXAttributeConstants.h /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXAttributeConstants.h
--- /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXAttributeConstants.h	1969-12-31 19:00:00
+++ /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXAttributeConstants.h	2026-08-05 01:09:41
@@ -0,0 +1,50 @@
+//
+//  AXAttributeConstants.h
+//  Accessibility
+//
+//  Copyright © 2026 Apple Inc. All rights reserved.
+//
+
+#import <Accessibility/AXFoundation.h>
+
+#if defined(__OBJC__)
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @abstract Annotate a range of an accessibility NSAttributedString with a
+ Speech Synthesis Markup Language (SSML) fragment that describes how that range
+ should be spoken.
+
+ @discussion
+ The value is an NSString containing an SSML fragment, as defined by the W3C
+ Speech Synthesis Markup Language (SSML) Version 1.1 specification. Assistive
+ technologies that produce speech, such as VoiceOver and Spoken Content, use the
+ fragment to determine how to pronounce the annotated range, enabling control
+ over pronunciation, inline language switching, pacing, emphasis, and say-as
+ interpretations.
+
+ The SSML fragment is scoped to the attribute's range; you do not need to wrap
+ it in a top-level <speak> element. The text spoken for the range is derived
+ from the SSML fragment, not from the underlying characters, so the visible and
+ Braille-rendered text remain unchanged. Assistive technologies that do not
+ produce speech ignore this attribute and use the underlying string.
+
+ If the value is not well-formed SSML, the attribute is ignored for that range
+ and the underlying string is spoken normally.
+
+ This attribute can be applied to any accessibility attributed-string field,
+ including accessibilityAttributedLabel, accessibilityAttributedValue,
+ accessibilityAttributedHint, and attributed announcement strings.
+
+ When AXSpeechAttributeSSML is present on a range, it takes precedence over
+ the older, single-purpose speech attributes (IPA notation, spell out, pitch,
+ punctuation, language) for that range.
+
+ Use an NSString containing an SSML fragment.
+*/
+AX_EXTERN NSAttributedStringKey const AXSpeechAttributeSSML API_AVAILABLE(anyappleos(27.0));
+
+NS_ASSUME_NONNULL_END
+
+#endif
diff -ruN /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h
--- /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h	2026-07-11 02:31:30
+++ /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h	2026-08-05 01:09:40
@@ -6,6 +6,7 @@
 //
 
 #import <Accessibility/AXFoundation.h>
+#import <Accessibility/AXAttributeConstants.h>
 #import <Accessibility/AXAudiograph.h>
 #import <Accessibility/AXBrailleMap.h>
 #import <Accessibility/AXColorUtilities.h>

Clone this wiki locally