#48598 closed defect (bug) (fixed)
:active button color issue in all color schemes except for "Default"
Reported by: | studiotwee | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 5.3.1 | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | Administration | Keywords: | 5-3-admin-css-changes has-patch has-screenshots has-dev-note |
Focuses: | ui, accessibility | Cc: |
Description (last modified by )
hi, in the latest update of WP the buttons had had a thick outline, which is great in terms of a11y. what’s less succesful is the :active state when selected the Midnight color scheme in wp-admin. See attached video demonstrating the issue.
BTW it's fine on the default color scheme.
Attachments (9)
Change History (34)
#2
@
5 years ago
The same issue is here with colorscheme Sunrise, Ectoplasma, Coffee, Blue and Ocean. It's on all color schemes, except for default.
#3
follow-up:
↓ 4
@
5 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 5.3.1
Good catch @studiotwee, thank you.
#4
in reply to:
↑ 3
@
5 years ago
Replying to afercia:
Good catch @studiotwee, thank you.
very welcome. Can you do me a favor and remove the mp4 link from my initial ticket? I didnt know I could upload files with my ticket, which, in hindsight, is a very logical thing to be able to do.
#8
@
5 years ago
- Owner set to audrasjb
- Severity changed from major to normal
- Status changed from new to accepted
#9
@
5 years ago
- Keywords has-patch added; needs-patch removed
Hi,
I made a patch. I created a new color variable from $text-color so the patch will work with possible future color schemes.
patch test on all color schemes.
#10
@
5 years ago
- Keywords has-screenshots added
Thanks @larrach, I tested the patch and it looks good on my side.
#11
@
5 years ago
- Keywords needs-design-feedback added
Thanks for the patch @larrach 👋
I'm not sure the background color change should be kept though. That was a mistake introduced in [46423]
Instead, I'd tend to think the :active
style should be consistent with the Gutenberg one. There's an inconsistency in Gutenberg as well, as the style varies across the color schemes. I just created an issue, thinking there should be some quick design feedback. See https://github.com/WordPress/gutenberg/issues/18577
Note: I think we can't use a new variable, as alternate color schemes provided by plugins would miss the variable. To test, install this plugin: https://wordpress.org/plugins/admin-color-schemes/
#13
@
5 years ago
- Summary changed from :active button color issue when Midnight color scheme has been selected to :active button color issue in all color schemes except for "Default"
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
5 years ago
#15
@
5 years ago
- Keywords needs-design-feedback removed
We addressed this ticket during today's bug scrub, and given the short timeframe for 5.3.1, the current feeling would be to solve the issue with the current patch and to take time for a more global change on secondary buttons.
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
5 years ago
This ticket was mentioned in Slack in #design by melchoyce. View the logs.
5 years ago
This ticket was mentioned in Slack in #core by melchoyce. View the logs.
5 years ago
This ticket was mentioned in Slack in #accessibility by afercia. View the logs.
5 years ago
This ticket was mentioned in Slack in #accessibility by afercia. View the logs.
5 years ago
#25
@
4 years ago
- Keywords has-dev-note added; needs-dev-note removed
This was detailed in the following developer note: https://make.wordpress.org/core/2019/12/10/alternate-color-schemes-changes-in-wordpress-5-3-1/.
video demostrating the issue