An accessibility release plus a dependency bump: two Home Screen WCAG 2.2 AA fixes, and @cognigy/chat-components updated to 0.79.0.
Potentially breaking changes
None.
New Features
None.
Bug Fixes
- The inactive Home Screen is now hidden from screen readers (SC 1.3.2). While the Privacy Notice, Previous Conversations, Chat, or Chat Options screen is active, the Home Screen stayed mounted behind it with only
aria-hidden="true"plus a tabindex toggle — NVDA browse-mode (arrow-key) navigation still announced its content, breaking screen isolation. The Home Screen root now also carriesinertwhile hidden, following the same pattern already used elsewhere in the widget;aria-hiddenstays as a fallback for browsers withoutinertsupport. (#302, CGY-3278) - Focus no longer drops to the host page after leaving the Home Screen (SC 2.4.3). With
widgetSettings.disableInputAutofocus: true, exiting the Home Screen (e.g. via a conversation starter) could leave focus ondocument.bodyor inside the now-inertHome Screen, so Tab restarted at the top of the host page instead of continuing inside the widget. Focus now falls back to the header title whenever no other exit path has already placed it somewhere valid. (#303, CGY-3278) - Date Picker year stepper arrows are visible again. A CSS regression in
@cognigy/chat-componentshid the up/down arrows on the Date Picker's Year field; restored in 0.79.0. DOM/keyboard behavior was unaffected throughout. (chat-components #265, CSA-92602) web_urlbuttons open in a new tab again on the sanitization opt-out path. WithdisableUrlButtonSanitization: true, untargetedweb_urlbuttons — including chat-options quick replies — were incorrectly opening in the same tab instead of a new one; restored in@cognigy/chat-components0.79.0. The screen-reader "opens in a new tab" announcement now correctly fires for this path as well, matching the restored behavior. (chat-components #266, CGY-34585)
Improvements
- Dependency:
@cognigy/chat-components0.78.0→0.79.0.axios(1.19.0) and@cognigy/socket-client(5.0.0-beta.26) are unchanged — both already at their tracked versions.
Full changelog: v3.49.0...v3.50.0
What's Changed
- fix(a11y): hide inactive home screen from screen readers with inert (CGY-3278) by Sushmitha Sekar (@sushmi21) in #302
- fix(a11y): home-screen exit focus fallback + review follow-ups (CGY-3278) by Sushmitha Sekar (@sushmi21) in #303
- chore(deps): update @cognigy/chat-components to 0.79.0 by Vijayakrishna Venkatesan (@vj-venkatesan) in #306
Full Changelog: v3.49.0...v3.50.0