-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Stylesheet contrast issues #1442
Comments
Can you check out #1353 and see if those color adjustments help? |
Yes, the "contrast" theme is a massive improvement. |
Glad you've found that useful - any critical feedback on that theme is also welcome of course! |
I'd be interested to hear others' thoughts on:
Thanks! |
tim-seoss
added a commit
to tim-seoss/mdBook
that referenced
this issue
Feb 21, 2021
The existing light theme has relatively low contrast between the text (and other UI elements) and background (especially within code blocks). This presents difficulties for people with reduced visual contrast perception (common in older adults). This patch makes changes to the default `light` theme to meet the minimum contrast requirement of the v2.1 W3C WCAG (Web Content Accessibility Guidelines) https://www.w3.org/WAI/WCAG21/quickref/#contrast-minimum The small size, and slender font used for the title text makes it hard to read, even with the increased contrast colour scheme, so this patch also increases the size of the title text font by 20%. Closes rust-lang#1442
notriddle
pushed a commit
to notriddle/mdBook
that referenced
this issue
Dec 23, 2021
The existing light theme has relatively low contrast between the text (and other UI elements) and background (especially within code blocks). This presents difficulties for people with reduced visual contrast perception (common in older adults). This patch makes changes to the default `light` theme to meet the minimum contrast requirement of the v2.1 W3C WCAG (Web Content Accessibility Guidelines) https://www.w3.org/WAI/WCAG21/quickref/#contrast-minimum The small size, and slender font used for the title text makes it hard to read, even with the increased contrast colour scheme, so this patch also increases the size of the title text font by 20%. Closes rust-lang#1442
rubenmoor
pushed a commit
to rubenmoor/mdBook
that referenced
this issue
Aug 5, 2022
The existing light theme has relatively low contrast between the text (and other UI elements) and background (especially within code blocks). This presents difficulties for people with reduced visual contrast perception (common in older adults). This patch makes changes to the default `light` theme to meet the minimum contrast requirement of the v2.1 W3C WCAG (Web Content Accessibility Guidelines) https://www.w3.org/WAI/WCAG21/quickref/#contrast-minimum The small size, and slender font used for the title text makes it hard to read, even with the increased contrast colour scheme, so this patch also increases the size of the title text font by 20%. Closes rust-lang#1442
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some of the styling is quite low-contrast, which makes it harder to read and navigate than it could be:
<h1>
of the currently-viewed page is light-on-light,<
and>
previous/next page controls for a couple of minutes because they render light-on-light,I'm no designer so I hesitate to suggest specific fixes, but https://contrastchecker.com/ is good at least to check body text.
(Re-reporting scrive/nix-workshop#1 upstream.)
The text was updated successfully, but these errors were encountered: