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

Improve W3C Web Content Accessibility Guidelines conformance by tweaking syntax highlighting colors? #887

Open
tim-seoss opened this issue Aug 16, 2021 · 0 comments

Comments

@tim-seoss
Copy link

I noticed that the blog uses a code-block syntax highlighting colour scheme which is similar to the one that mdBook uses (i.e. the one used for the online versions of The Rust Book etc.).

mdBook merged a PR in Feb 2021 which increased the contrast of its default color scheme rust-lang/mdBook#1470

The current scheme used on the blog is actually somewhere between the old and new mdBook scheme (so that from a visual/contrast accessibility PoV it's slightly better than the old mdBook default scheme, falls short of the current mdBook default scheme).

I'd be happy to prepare a PR so that the blog could use the updated mdBook default colors if it's felt that this is likely to be merged. The mdBook PR (and the issue which it closes) contains some relevant discussion and references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant