-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Accessibility: Support exposing current language to screen readers #3841
Comments
Confirmed, this is a WCAG requirement. I'm not sure how Chromium renders the full VS Code interface, but in HTML this would be a matter of adding a proper lang attribute to the HTML element (usually a language is preferred rather than a language + dialect) for the entire document and lang attributes on the tags that deviate from the main language of the document. |
@alexandrudima do you have an idea how I can tell the screen reader the language of the UI? The language used to render the UI is available in process.env['VSCODE_NLS_CONFIG']. |
@alexandrudima please move back if there is something I can do here. |
@bpasero I think the problem is in |
@dbaeumer if you feel brave, just make the change in index.html to pick up the language chosen. I have no clue what the implications are. |
@bpasero I will look into this for April. I am not brave enough to make this for March. |
👍 |
Fixes #3841: Accessibility: Support exposing current language to screen readers
NVDA supports 43 languages, we should support exposing the current language to the tool.
Here is the requirement:
CC: @zersiax
The text was updated successfully, but these errors were encountered: