Skip to content

Addresses #3690 high-contrast less hacky in editor - #9726

Merged
Alexandru Dima (alexdima) merged 1 commit into
microsoft:masterfrom
bgashler1:bgashler1/issue-3690/monaco-hc-fix
Aug 16, 2016
Merged

Alexandru Dima (alexdima) merged 1 commit into
microsoft:masterfrom
bgashler1:bgashler1/issue-3690/monaco-hc-fix

Conversation

@bgashler1

Copy link
Copy Markdown
Contributor

This pertains to the Monaco editor running in Windows high-contrast mode.

Windows removes all background images in high contrast mode unless a rule like this applied.

@bgashler1

Copy link
Copy Markdown
Contributor Author

Addresses #3690

@bgashler1

Brad Gashler (bgashler1) commented Jul 26, 2016 •

Copy link
Copy Markdown
Contributor Author

While this fixes the problem, I worry about merging this in without having some JavaScript logic to change the theme for the user.

For example see what a user would see below if the theme was set to dark or white and a user was in high-contrast mode.

It's not that accessible or beautiful to make a user have to change to the high-contrast mode.

screen shot 2016-07-25 at 6 19 08 pm

screen shot 2016-07-25 at 6 19 03 pm

We could delay this fix potentially until we can have some logic that checks the state of -ms-high-contrast: active and then applies the high-contrast theme in that case.

I defer to your judgement, since that would need to come from you guys.

@alexdima

Alexandru Dima (alexdima) commented Aug 16, 2016 •

Copy link
Copy Markdown
Member

I've created #10576 to track the automatic switching of the editor to high contrast. Otherwise, I think this change is welcome

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants