Opened 10 years ago
Closed 9 years ago
#31548 closed defect (bug) (fixed)
Fix color contrast on wp-login.php to meet minimum accessibility standards
Reported by: | scarinessreported | Owned by: | rianrietveld |
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Login and Registration | Keywords: | has-patch color-contrast has-screenshots commit |
Focuses: | ui, accessibility | Cc: |
Description (last modified by )
I would like to propose some style changes to the links so that they comply with the minimum requirements of WCAG AA.
At the moment the login page links do not meet the basic requirements of color contrast.
I am submitting some css changes so that it meets the requirements without moving away too much from the current color scheme
Tracking label: #a11y-color
Attachments (6)
Change History (25)
This ticket was mentioned in Slack in #accessibility by scarinessreported. View the logs.
10 years ago
#3
@
10 years ago
I have now tested the colors against WCAG AAA and color blindness simulators so that it meets with those standards.
For testing I used http://www.dasplankton.de/ContrastA/ wave toolbar and juicy studio.
This ticket was mentioned in Slack in #accessibility by cheffheid. View the logs.
10 years ago
#5
follow-ups:
↓ 6
↓ 9
@
10 years ago
login.css appears to need some color updating in the first place - see #31234. I am all for contrast guidelines, but if we need to change some colors then they need to be considered holistically, not just on the login screen.
#6
in reply to:
↑ 5
;
follow-up:
↓ 7
@
10 years ago
Replying to helen:
login.css appears to need some color updating in the first place - see #31234. I am all for contrast guidelines, but if we need to change some colors then they need to be considered holistically, not just on the login screen.
Yes agreed the whole admin needs updating the colour scheme so the contrasts are accessible to all so lets merge or move this to the other ticket so i can offer fixes for some of the styles that aren't yet WCAG AA
#7
in reply to:
↑ 6
@
9 years ago
Replying to scarinessreported:
Yes agreed the whole admin needs updating
Just created a new ticket for a more global approach, see #31713
#9
in reply to:
↑ 5
@
9 years ago
Replying to helen:
login.css appears to need some color updating in the first place - see #31234. I am all for contrast guidelines, but if we need to change some colors then they need to be considered holistically, not just on the login screen.
Totally agree. So maybe it make sense to be consistent with the updated default admin colors. See the new colors announcement post in Make Design for reference.
Some background: as far as I know, the links color was #21759b
in WordPress 3.7 than changed in #999
with the MP6 admin redesign.
I'd say we have two choices: use the new blue for links #0073aa
or use one of the available new greys: #464b50
. I'd rather the blue, it will also be consistent with the color of the links displayed in the error messages. Also, I'd say no underline and we should meet WCAG AA level so a contrast of 4.50:1 would be sufficient.
See screenshot: current, new blue, new grey. Any thoughts and UI feedback more than welcome.
#10
@
9 years ago
New patch to propose a new approach: just change the links color and make it blue again, using the new #0073aa
.
#12
@
9 years ago
Agree with
rather the blue, it will also be consistent with the color of the links displayed in the error messages. [...] and we should meet WCAG AA level so a contrast of 4.50:1 would be sufficient.
An underlining on hover would be nice, but that is never the case in the whole Admin, that's maybe another discussion.
#16
@
9 years ago
- Keywords has-screenshots commit added
Refreshed patch, using the new grey proposed in #35604. Screenshot before and after:
#17
@
9 years ago
Updated patch with the new "dark medium gray" from Hugo Baeta.
diff file for /wp-admin/css/login.css