Accessibility with the Service Chat SDK for iOS
Disable the Minimized View in Chat
By default, a chat session starts out as a minimized, thumbnail view that you tap to open. This minimized view is not optimal for accessibility because a visually impaired person could have trouble locating the thumbnail. To improve accessibility, we suggest starting the session in the full-screen view. When creating the SCSChatConfiguration object, set allowMinimization and defaultToMinimized to false.
let config = SCSChatConfiguration(liveAgentPod: "YOUR_POD_NAME",
orgId: "YOUR_ORG_ID",
deploymentId: "YOUR_DEPLOYMENT_ID",
buttonId: "YOUR_BUTTON_ID")
config?.allowMinimization = false
config?.defaultToMinimized = false
Contrast Ratio Considerations
By default, we brand the SDK using a 4.2 contrast ratio. You can customize the colors to increase this contrast ratio.
Dynamic Text Warning
When changing the iOS text size, the Apple Accessibility Inspector displays the following warning: “Dynamic Text font sizes are unsupported.” Dynamic text is supported, but it requires restarting the app after changing the font size.