-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: Contrast Issues and other errors #441
Comments
Specific examples:
|
I could probably help out on this but are there any suggestions to handle the contrast issue? It seems the other examples like the form label and etc are the easy fixes in terms of accessibility. The main thing here is that the color for the hyperlink is causing the contrast issue. I also did a quick run of site on Chrome Lighthouse tool and it did score an 80 mentioning the same issue the WAVE tool mentioned. "Background and foreground colors do not have a sufficient contrast ratio." Do you have a fix in mind for the contrast issue? |
If we just scale the lightness, we get something like #0080A3 |
For notices there's a test page in the repo showing all visual styles at |
Thanks @McShelby With that page as guidance, #005AF3 is the highest luminosity color that does not modify the amount of blue and is compatible with the warning notice. Would it also be beneficial to add some more sample content to either the notice documentation or a separate "test" file so that links and other color contrast concerns can be tested directly from that page? |
Perhaps the right approach here, is to introduce another theme in addition to the existing themes that just aims to handles the contrast issues. So that, users will know that they have the option to use it. That way, more changes can be made to theme as well. So, no contrast changes to the original theme. Then another issue which is completely separate to the contrast issue would be to address the other accessibility issues. For example, the empty links and empty form labels. In other words, no contrast changes to the original theme but only addressing other accessibility issues. What do you think of that approach? @jrchamp |
That approach is not my favorite. Fixing the core/default theme is the best way to encourage an accessible experience.
|
Agreed, fixing the core is indeed the way to go. Gosh, you now remind me of my old lecturer from ages back who was very adamant about these during XHTML times. Lol. @matalo33 , What do you think? Perhaps we should aim to fix the accessibility issues for the next release. (Not sure if contrast issue is present the other colour themes). It would certainly take some time to look into them. |
Any updates on fixing the core? |
Thank you for this great theme! A lot of people are using this downstream because it makes presenting high quality information easy.
There are a dozen or so issues mostly related to contrast that would be great to have fixed here in the upstream.
https://wave.webaim.org/report#/https://learn.netlify.app/en/
If you have any questions, please let me know.
The text was updated successfully, but these errors were encountered: