-
Notifications
You must be signed in to change notification settings - Fork 18
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 accessibility of License List website for colour-blind readers #135
Comments
I'm marking this as a technical issue as I think this would be implemented in the license-list-publisher tool (there are some styles to get the red or blue text currently). Something to discuss with @goneall |
Agree - I'm going to transfer to the license list publisher @seabass-labrax - Depending on the extent of the changes, this could be an update to the templates in the template folder. I recall a similar request, but I couldn't find it with a quick search of the issues and PR's in the LicenseListPublisher repo. |
@seabass-labrax @jlovejoy Any volunteers to contribute changes to the template file to fix this? If not, I'll close this issue. |
did I do the HTML or CSS or something for the blue red text way back when? I can't remember how we implemented that, but @goneall - if you can point me to the file, maybe I can (re)remember? @seabass-labrax - I'm thinking maybe italics and underline? Seems like bold might imply emphasis in the wrong way (gut thought). Are you also thinking that we keep the same colors and add the italics/underline in addition? |
@jlovejoy Here's where all the HTML templates and style sheets reside: https://github.com/spdx/LicenseListPublisher/tree/master/resources |
Why not use some sort of bracket delimiters (several possibilities: << >>, {}, [] ...) and define what they mean? Italics may not be ideal as they are often (IME) hard to discern in web-displayed text. Brackets also have the advantage of being suitable for a plain text rendition. |
ok, so finally looking into the css that does this. Currently the replaceable text is red and italics (I'm actually not sure where the italics is coming from) and the optional text is blue. I'm going to retract my idea of underlining, as that might be harder to read especially for a large block of text - unless maybe we did:
|
Currently the SPDX License List website shows "omitable text in blue and replaceable text in red". Although these colours have good contrast when compared to the website's background, some colour-blind readers may be unable to distinguish the colours from and each other and normal text.
It would be beneficial to add additional markers, such as displaying optional (omitable) text in italics and replaceable text in bold.
The text was updated successfully, but these errors were encountered: