Skip to content

DP-45023: Accessible translation widget#3290

Open
tfleming-ma wants to merge 33 commits intodevelopfrom
feature/DP-45023_accessible-translation-widget
Open

DP-45023: Accessible translation widget#3290
tfleming-ma wants to merge 33 commits intodevelopfrom
feature/DP-45023_accessible-translation-widget

Conversation

@tfleming-ma
Copy link
Copy Markdown
Collaborator

Description:
Added accessible translation widget.

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

To Test:

  • Add steps to test this feature

Peer Review Checklist

@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat March 20, 2026 12:35 Destroyed
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 20, 2026

Composer package changes
Prod Packages Operation Base Target
massgov/mayflower-artifacts Changed dev-develop f1baa3d dev-patternlab/DP-45023_google-translate-widget-update 37e555f

@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat March 20, 2026 15:05 Destroyed
@tfleming-ma tfleming-ma marked this pull request as draft March 20, 2026 15:05
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat March 20, 2026 15:17 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat March 23, 2026 18:50 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat March 23, 2026 19:49 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat March 23, 2026 19:51 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat March 24, 2026 04:48 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat March 24, 2026 14:34 Destroyed
Comment thread docroot/themes/custom/mass_theme/mass_theme.theme Outdated
@clairesunstudio
Copy link
Copy Markdown
Contributor

clairesunstudio commented Mar 25, 2026

Functionally works great!

A few styling and minor functional feedback:

  1. The mobile layout and spacing don't seem to match the design:
Screenshot 2026-03-25 at 10 13 46 AM Screenshot 2026-03-25 at 10 06 47 AM
  1. The disclaimer should be localized and stored with the select options instead of depending on the google translate so that it shows up in the native language before user clicks on the "Translate" button.

  2. The above-mentioned options should be formatted as "French - Français"

@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat March 31, 2026 04:48 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 1, 2026 15:43 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 1, 2026 16:32 Destroyed
@clairesunstudio
Copy link
Copy Markdown
Contributor

Found another issue - the focus is not trapped within the modal when it's open

@clairesunstudio
Copy link
Copy Markdown
Contributor

clairesunstudio commented Apr 2, 2026

I believe I've fixed most of the things we discussed, as well as a couple of other issues I ran into afterwards in Mayflower --> massgov/mayflower#2055 (comment)

Please update the openmass PR and make sure that we have:

  • All language options in the new list match what's in prod
  • The disclaimer should be localized and stored with the select options instead of depending on Google Translate so that it shows up in the native language before the user clicks on the "Translate" button.

@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 3, 2026 18:46 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 3, 2026 18:50 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 6, 2026 12:59 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 6, 2026 13:45 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 6, 2026 13:59 Destroyed
@tfleming-ma tfleming-ma marked this pull request as ready for review April 6, 2026 13:59
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 7, 2026 04:48 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 7, 2026 16:22 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 7, 2026 19:00 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 14, 2026 04:47 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 15, 2026 21:23 Destroyed
@arthurbaghdas arthurbaghdas temporarily deployed to Tugboat April 15, 2026 21:26 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.

3 participants