Currently old vote in Special:ecurePoll/list use #666 as color, which is kind of hard to distinguish from valid(latest) vote. Propose to change it to #AAA - same as closed election - for a better appearance.
Description
Details
Event Timeline
Change 793802 had a related patch set uploaded (by Stang; author: Stang):
[mediawiki/extensions/SecurePoll@master] Color adjustment for old vote
#AAAAAA unfortunately fails the WCAG contrast test: https://webaim.org/resources/contrastchecker/?fcolor=AAAAAA&bcolor=FFFFFF
Perhaps there could be some other colour, or another way to differentiate these older votes (italic text perhaps)
Something like #EB000 with a strikeout may work
https://webaim.org/resources/contrastchecker/?fcolor=EB0000&bcolor=FFFFFF
There exist two CSS classes called securepoll-old-vote and securepoll-struck-vote. I thought the red color would be more acceptable for the striked vote instead of the old previous vote, as red color normally indicate something wrong happened. I disagree with using italic too much, some scripts (CJK or something else) don't use italic.
Another thing is the delete line for stuck vote is a little bit thin, and it would be better if text-decoration-thickness: from-font; rule is added to class securepoll-struck-vote.
Change 886466 had a related patch set uploaded (by Foks; author: Foks):
[mediawiki/extensions/SecurePoll@master] SecurePoll: Changing struck and thrown out colours
My proposal (the patch above) looks like this. Thrown out votes are struck-through, and struck votes are red:
As a color-blind person, I can't easily distinguish the red color in the proposal by @jrbs, and I'm a bit confused. It looks to me like the color of the text for JSutherland in that example is different from that for ClydeFranklin - but perhaps just because the background is different? What does the background signify? If the red color and the strikethru indications are redundant with each other, it's probably ok.
Thanks.
Change #886466 abandoned by Huji:
[mediawiki/extensions/SecurePoll@master] SecurePoll: Changing struck and thrown out colours
Reason:
Abandoning in favor of https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecurePoll/+/1037853
Change #793802 abandoned by Huji:
[mediawiki/extensions/SecurePoll@master] Style adjustment for struck vote and old vote
Reason:
Abandoning given https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecurePoll/+/1037855