You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
Both assistive technologies and conventional user agents can render text more accurately if the language of each passage of text is identified. Screen readers can use the pronunciation rules of the language of the text.
Apply lang="es" or lang="en" to the anchor (<a>) element within the language switcher partial to correctly identify the language of link text. This can be set dynamically from the language information (lang parameter) within config.toml file.
The text was updated successfully, but these errors were encountered:
Issue:
When content on the page is presented in a language other than the page's language, the different language part must be specified. Per the WCAG 3.1.2 Language of Parts (Level AA) Understanding document,
Code location:
vote-gov/layouts/partials/language-switcher.html
Line 8 in 99ada31
Recommended fix:
Apply
lang="es"
orlang="en"
to the anchor (<a>
) element within the language switcher partial to correctly identify the language of link text. This can be set dynamically from the language information (lang
parameter) within config.toml file.The text was updated successfully, but these errors were encountered: