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.
1let config = SCSChatConfiguration(liveAgentPod: "YOUR_POD_NAME",
2 orgId: "YOUR_ORG_ID",
3 deploymentId: "YOUR_DEPLOYMENT_ID",
4 buttonId: "YOUR_BUTTON_ID")
5
6config?.allowMinimization = false
7config?.defaultToMinimized = falseContrast 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.