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

Language of Parts #7197

Open
mgifford opened this issue Nov 9, 2022 · 0 comments
Open

Language of Parts #7197

mgifford opened this issue Nov 9, 2022 · 0 comments
Labels
Accessibility Issues related to improve overal accessibility in CKAN Good for Contribution

Comments

@mgifford
Copy link

mgifford commented Nov 9, 2022

CKAN version
https://demo.ckan.org/

Describe the bug
If the language of the page is defined as <html lang="ja"> then any deviations from that language must be wrapped in a language code. In most cases, this for CKAN that would be EN.

Untranslated strings like: <li><a href="/ja/about">About</a></li>

Need to be wrapped in a language wrapper like <li><a href="/ja/about" lang="en">About</a></li> so that the text can be properly pronounced by assistive tech. Without a language identifier, assistive technologies (will have trouble pronouncing them).

Steps to reproduce
Switch to a non-english language text.

Expected behavior
See above

Additional details
https://www.w3.org/WAI/WCAG21/Understanding/language-of-parts.html
https://accessiblewebsiteservices.com/tag/language-of-parts/
https://4syllables.com.au/articles/accessibility-writers-language/

@amercader amercader added the Accessibility Issues related to improve overal accessibility in CKAN label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Issues related to improve overal accessibility in CKAN Good for Contribution
Projects
None yet
Development

No branches or pull requests

2 participants