Jean, There are various types of colour-blindness - red-green is the most common. I did a quick Google on "design for colour-blind" and got several useful hits, mostly for web designers. The basic message is "don't rely on colour to get a message across", which isn't much help to you. One way round this might be to allow the user to select colours for the different distinguishable syntax elements (I think this has already been suggested somewhere in this thread). And not to make it too complicated. I personally get a bit fed up with Frescobaldi's colours but being normally-sighted I can live with it.
Best regards, Peter mailto:[email protected] www.ptoye.com ------------------------- Sunday, January 2, 2022, 5:01:11 PM, [email protected] wrote: > Send lilypond-user mailing list submissions to > [email protected] > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/lilypond-user > or, via email, send a message with subject or body 'help' to > [email protected] > You can reach the person managing the list at > [email protected] > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lilypond-user digest..." > Today's Topics: > 1. Re: Feedback wanted: syntax highlighting in the LilyPond > documentation (Wols Lists) > 2. Re: Feedback wanted: syntax highlighting in the LilyPond > documentation (Jean Abou Samra) > ---------------------------------------------------------------------- > Message: 1 > Date: Sun, 2 Jan 2022 16:24:39 +0000 > From: Wols Lists <[email protected]> > To: [email protected] > Subject: Re: Feedback wanted: syntax highlighting in the LilyPond > documentation > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > On 02/01/2022 09:34, Marc Lanoisel?e via LilyPond user discussion wrote: >> It will be necessary to keep an uncolored version for men (in principle >> women do not have this problem) who do not see well certain colors. > In principle (and practice) women DO suffer this problem. It's caused by > a defective X chromosome so, like haemophilia, the majority of sufferers > are men. If however a colour-blind man marries a carrier woman, any > daughter runs a 50-50 risk of being colour-blind. > Cheers, > Wol > ------------------------------ > Message: 2 > Date: Sun, 2 Jan 2022 17:32:32 +0100 > From: Jean Abou Samra <[email protected]> > To: Knute Snortum <[email protected]> > Cc: Lilypond-User Mailing List <[email protected]> > Subject: Re: Feedback wanted: syntax highlighting in the LilyPond > documentation > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > Le 02/01/2022 ? 17:01, Knute Snortum a ?crit?: >> On Sun, Jan 2, 2022 at 7:10 AM Jean Abou Samra <[email protected]> wrote: >> ... >>> [Marc] >>>> It will be necessary to keep an uncolored version for men (in >>>> principle women do not have this problem) who do not see well certain >>>> colors. >>> This is taken care of -- the colors have been >>> chosen to have enough contrast to the white >>> background to be readable even for those >>> with impaired vision. Since I am not such a >>> person, I have been checking the scheme against >>> WCAG recommendations. The color with least >>> contrast has 6.15, which is quite a bit >>> above the WCAG AA level of 4.5. This means that >>> even someone not discerning colors at all >>> can read such highlighted code. >> I am colorblind (which BTW means that it's hard to distinguish certain >> colors, not that everything is gray). > Sorry if I gave a wrong impression. I didn't > mean that everything actually looked gray, just > that it was the extreme imaginary case encompassing > all types of colorblindness (I think there are > different ones, right?). >> I can't see a difference >> between the blue and the purple, but this doesn't cause a problem for >> me -- I just miss some of the highlighting, which is unavoidable. The >> bold terms jump out at me, but the coloration seems reasonable. All >> in all, the scheme seems reasonable to me. > Thanks for the input! That's reassuring. > Best regards, > Jean > ------------------------------ > Subject: Digest Footer > _______________________________________________ > lilypond-user mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/lilypond-user > ------------------------------ > End of lilypond-user Digest, Vol 230, Issue 10 > **********************************************
