Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting flag to welsh translates partially main service #61

Open
Marat-Faizov opened this issue May 7, 2021 · 3 comments
Open

Setting flag to welsh translates partially main service #61

Marat-Faizov opened this issue May 7, 2021 · 3 comments
Labels
hmrc-frontend wcag Web Content Accessibility Guidelines 2.1

Comments

@Marat-Faizov
Copy link

Marat-Faizov commented May 7, 2021

Setting flag to welsh translates partially main service

Problem

Users able to set language to welsh on the cookie page and accessibility statement page. After moving to the main service the header/footer still persist the Welsh whilst the page body shows English and lang=en not applied

Solution

One of the possible solutions to pass separate lang=en to the main element, but other elements outside of main will still violate WCAG 3.1.2 Language of parts such as breadcrumbs service name etc

Jira ticket created by plat-ui team https://jira.tools.tax.service.gov.uk/browse/PLATUI-1163

image

@Marat-Faizov Marat-Faizov added the wcag Web Content Accessibility Guidelines 2.1 label May 7, 2021
@Marat-Faizov
Copy link
Author

setting play.i18n.langs = ["en"] with welshToggleEnabvled=false in application.conf fixes the issue.

@ashfaqhussain357
Copy link

ashfaqhussain357 commented Jul 16, 2024

Will check to see if this is still an issue and update. Platui have implemented a fix for this.

@ashfaqhussain357
Copy link

Jira ticket closed for this issue by Robert Best with the following comments - Closing this ticket as no apparent requirement for providing partially translated web pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hmrc-frontend wcag Web Content Accessibility Guidelines 2.1
Projects
Status: Done
Development

No branches or pull requests

3 participants