Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
Seven theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Jun 2015 at 00:29 UTC
Updated:
17 Aug 2015 at 12:44 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #1
kattekrab commentedComment #2
kattekrab commentedComment #3
kattekrab commentedComment #4
rikki_iki commentedA minuscule colour shift is all that's needed to pass WCAG AA, from #ea2800 to #e32700. Tiny patch attached.
Comment #6
Anonymous (not verified) commentedComment #7
Anonymous (not verified) commentedHere is my patch.
Comment #8
mgifford@bobrov1989 your patch applies nicely, but it's completely different than @rikki_iki's patch and it would be useful to know why. Looks like we got rid of the class form-error-message. Still useful to state that.
This meets WCAG 2.0 AA guidelines:
https://leaverou.github.io/contrast-ratio/#%23ac1d00-on-%23fcf4f2
But you patch actually reduces the contrast from what is there now:
https://leaverou.github.io/contrast-ratio/#%23a51b00-on-%23fcf4f2
I really don't know why we were using two colours of red for errors in Core, Seven & Bartik, there's still one place using this old color, but that's a separate issue.
https://leaverou.github.io/contrast-ratio/#%23ea2800-on-%23fcf4f2
I'm tempted to leave it as it is rather than reduce the contrast (even though we could).
Comment #9
lewisnymanComment #10
kattekrab commentedThe colour suggestion in the issue queue actually passes WCAG AAA
Comment #11
mgiffordYup, both meet WCAG 2.0 AAA against white:
http://leaverou.github.io/contrast-ratio/#%23ac1d00-on-white
http://leaverou.github.io/contrast-ratio/#%23a51b00-on-white
Against the pink it's still good for AA as I stated earlier:
https://leaverou.github.io/contrast-ratio/#%23ac1d00-on-%23fcf4f2
I'm not sure why we are changing the colour. There is no accessibility reason to change it (or not to change it) that I can see.
This issue though is about "Increase contrast on inline form error text"
#ea2800 is still in core the patch in #7 doesn't touch that colour (which doesn't have sufficient contrast). #4 does address this.
Comment #12
mgiffordThis is essentially a reroll of #4. One of the class names changed.
Would be good to fix this one too, which is the only other reference to #ea2800 #2334067: error.svg doesn't have sufficient color contrast
Comment #13
lewisnymanThanks for this. This is an easier fix to make than completely changing the color.
Can we update the issue summary so the WAVE results reflect the new color?
Before:

After:

Comment #14
lewisnymanSetting to needs work as the issue summary needs work
Comment #15
mgiffordComment #16
mgiffordComment #17
mgiffordI think the issue summary is accurate now.
Comment #18
mgiffordComment #19
lewisnymanGreat! Thank you.
Comment #20
alexpottCommitted b8a78f4 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.
Comment #22
yesct commentedtrying to fix the images in the summary