Skip to content

Pre release Alpha.22 - v2.0.0

Pre-release
Pre-release

Choose a tag to compare

@Gerben-T Gerben-T released this 22 May 13:40
359040c

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 the aria-label for the media download button.
  • ariaLabelButtonCall: This sets the aria-label for the type "phoneNumber" button in a message.
  • ariaLabelButtonWebUrl: This sets the aria-label for the type "webUrl" button in a message.
  • ariaLabelButtonPredefinedReply: This sets the aria-label for the type "reply" button in a message
  • ariaLabelButtonCloseImageViewer: This sets the aria-label for the close button in the image viewer (when clicking on an image)
  • ariaLabelUploadFile: This sets the aria-label for 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:

Video.mp4