Repository navigation
Pre release Alpha.22 - v2.0.0
Pre-release
Pre-release
What's Changed
Full Changelog: v2.0.0-alpha.21...v2.0.0-alpha.22
More info
This update contains a bunch of accessibility fixes to make the chat WCAG21AA compliant. See #71 for more details.
There are new interfaceTexts added which you can change if necessary:
ariaLabelButtonDownloadMedia: This sets thearia-labelfor the media download button.ariaLabelButtonCall: This sets thearia-labelfor the type"phoneNumber"button in a message.ariaLabelButtonWebUrl: This sets thearia-labelfor the type"webUrl"button in a message.ariaLabelButtonPredefinedReply: This sets thearia-labelfor the type"reply"button in a messageariaLabelButtonCloseImageViewer: This sets thearia-labelfor the close button in the image viewer (when clicking on an image)ariaLabelUploadFile: This sets thearia-labelfor the upload file button.screenReaderNewMessageAnnouncement: This sets the text that is read out loud, when using a screen reader, when receiving a new message.noMessagesInConversation: This sets the text that is read out loud, when using a screen reader, when there are no messages yet in the conversation. This is mainly to satisfy some WCAG rules and thus is not shown visually.
These texts are also documented here with more information including the default values.
We've also improved support for using a zoomed-in view in your browser. When we notice that the chat doesn't fit anymore we switch to the mobile styling. This styles the chat so that it becomes the whole width and height of the webpage. This makes it easier to use the chat at for example 400% zoom. Here is a video showing a demo of that feature: