Utilisateur:Darkoneko/usability


MediaWiki's default colouring system for the diff system

Web Content Accessibility Guidelines

Some other used a simple bolding of the changed part (enwiki, dewiki, rowiki, zhwiki, cebwiki, glwiki, idwiki, kuwiki, lbwiki, ltwiki, mswiki, skwiki, slwiki, tewiki, thwiki, viwiki) or other means (dotted border on plwiki/kowiki, bold+underline on huwiki,


for example

This version initiated in frwiki on mid-2006 and has since been adpted on : nowiki, arwiki, bswiki, dawiki, hewiki, nowiki, shwiki, bpywiki, alswiki

While probably not perfect, this coloring

table.diff {
 padding:.5em;
}
table.diff td { 
 vertical-align:top;
}
td.diff-addedline { 
 background:#D8E4F6; 
}
td.diff-addedline .diffchange {
 background:#B0C0F0;
 color:#001040;
 font-weight:bold;
}
td.diff-deletedline {
 background:#E4F6D8;
}
td.diff-deletedline .diffchange {
 background:#B0E897;
 color:#104000;
 font-weight:bold;
}
td.diff-context {
 background:#FEFEFE;
}