Skip to content

Comments

DP-44594 SPIKE-assess-work-to-reskin-Google-Translate-widget-in-accessible-way#3246

Open
dstorozhuk wants to merge 6 commits intodevelopfrom
feature/DP-44594-SPIKE-assess-work-to-reskin-Google-Translate-widget-in-accessible-way
Open

DP-44594 SPIKE-assess-work-to-reskin-Google-Translate-widget-in-accessible-way#3246
dstorozhuk wants to merge 6 commits intodevelopfrom
feature/DP-44594-SPIKE-assess-work-to-reskin-Google-Translate-widget-in-accessible-way

Conversation

@dstorozhuk
Copy link
Collaborator

Description:
Explain the technical implementation of the work done.

Jira: (Skip unless you are MA staff)
DP-****

To Test:

  • Add steps to test this feature

Peer Review Checklist

…lity and behavior

Implemented a fully accessible custom Google Translate interface with reset and apply functionality, improved cookie management, and robust language attribute handling. Added support for `.google-translate.css`.

Signed-off-by: Dmytro Storozhuk <dima@itech4web.com>
… to Google Translate widget (work on mobile, bad on desctop).

Integrated `google-translate.css` for accessible styling and compact utility navigation design. Added browser language detection to dynamically update the "Select language" label.

Signed-off-by: Dmytro Storozhuk <dima@itech4web.com>
…ons and sanitize language codes display

Integrated a new textarea setting for specifying native language translations in "Select language." Sanitized language codes display using `XssAlias::filter` to improve security. Removed redundant language entry from Twig.

Signed-off-by: Dmytro Storozhuk <dima@itech4web.com>
…tions from theme settings

Refactored the widget to fetch and process translations directly from theme settings, replacing the hardcoded list. Improved label updates based on browser language.

Signed-off-by: Dmytro Storozhuk <dima@itech4web.com>
…ranslate widget for accessibility

Signed-off-by: Dmytro Storozhuk <dima@itech4web.com>
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat January 29, 2026 03:45 Destroyed
…branch in composer files

Signed-off-by: Dmytro Storozhuk <dima@itech4web.com>
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat January 29, 2026 03:48 Destroyed
@github-actions
Copy link

Composer package changes
Prod Packages Operation Base Target
massgov/mayflower-artifacts Changed dev-develop 2229165 dev-feature/DP-44594-SPIKE-assess-work-to-reskin-Google-Translate-widget-in-accessible-way c631d55

@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat February 3, 2026 04:29 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat February 10, 2026 04:28 Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants