I'm developing a calculator app and working to ensure a great experience for both VoiceOver and Braille display users.
For expressions like (2+3)×5
, I need two different accessibility outputs:
- VoiceOver (spoken): A descriptive string like “left paren two plus three right paren times five,” provided via
.accessibilityValue
. I'm using a customspellOut
function since VoiceOver doesn't announce parentheses—which are kind of important when doing math! - Braille (symbolic): The literal math string
(2+3)×5
, provided using.accessibilityCustomContent("", ...)
, with an empty label so it’s not spoken aloud.
The issue: I don’t have access to a Braille display device and Xcode’s Accessibility Inspector doesn’t seem to show the custom content.
Is there any way to confirm that custom Braille content is being set correctly in Simulator or with other tools?
Or…is there a "math mode" in VoiceOver that forces it to announce parentheses?
Any advice or workarounds would be much appreciated!
Thanks, Uhl