"Darkoneko" posted a comment on MediaWiki.r105280.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/105280#c27794

Commit summary for MediaWiki.r105280:

Diff colors now use the french Wikipedia scheme

The french community has been using a specific set of colors for diff, it is
believed to be easier to read for people perceiving colors differently.

Source is from:
http://fr.wikipedia.org/w/index.php?oldid=72567845&uselang=en

This commit override r94429 / r94461.

See also docs/uidesign/mediawiki.action.history.diff.html

Darkoneko's comment:

Ah, I see what you mean now. But now that I've written a bit about it above 
[https://www.mediawiki.org/wiki/Special:Code/MediaWiki/105280#c27781], I 
realise we have been sidetracked.

We have been concentrating on the left/right size colour difference, but the 
readability issue has nothing to do with these. It's the same colour for the 
whole paragraph ! It doesn't help seeing what changed, so it could be any 
colour as long as there enough contrast with the text.


What the change is really about is the method we differentiate the unchanged 
and altered text parts '''inside''' that paragraph
*the current scheme uses a different 『text colour』 ''(red instead of black)'' 
*the proposed scheme instead uses a different 『text background colour』for the 
altered part 


So, the important part is how the "altered text" background is different from 
the "normal text" background ; how the left side's is different from the right 
side's is unrelated.

---

To develop a bit on the why and how of the two differentiation methods : 

The current method relies on a red/black text change ; this makes it impossible 
or very hard to see the difference for people with a "red" related deficiency.

The proposed method relies on :
*a more obvious contrast zone (by doing affecting the whole line rather of just 
the text) 
*this contrast is made on '''all three primary colours'''. It's easy to see as 
CSS colours code are in [[:en:RGB|RGB]] format
**on the (current) left side, #E4F6D8 (paragraph) is contrasted with a darker 
#B0E897 (altered text)
**on the (current) right side, #D8E4F6 (paragraph) is contrasted with a darker 
#B0C0F0; (altered text)

To be honest, the best contrast would be against a white background paragraph ; 
having it lightly coloured is an eye-candy compromise. But even so, it 
''should'' be differentiable by people suffering from all type of colour 
blindness, including monochromia.


_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to