[wp-trac] [WordPress Trac] #48709: Disabled button doesn't look disabled
WordPress Trac
noreply at wordpress.org
Thu Jul 2 18:16:07 UTC 2020
#48709: Disabled button doesn't look disabled
-------------------------------------------------+-------------------------
Reporter: drw158 | Owner: audrasjb
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.5
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-dev-note needs- | Focuses: ui,
refresh needs-design-feedback | administration
-------------------------------------------------+-------------------------
Comment (by afercia):
I'd argue that, although disabled controls don't have color contrast
requirements, color alone can't be used to distinguish a disabled control
from an enabled one.
For a user who can't distinguish colors, or with low vision, etc. the
Gutenberg implementation @melchoyce linked above is not ideal and should
be reviewed. Basically, it doesn't differ that much from the core primary
buttons.
There's only a change in the color background and the button text gets
"opaque". This isn't sufficient to distinguish a disabled button from an
enabled one.
See the attached screenshot, in order:
- core primary buttons (not ideal)
- latest Gutenberg plugin implementation (not ideal)
- core default buttons: better, as the disabled buttons almost "fades out"
and also its border is way less visible
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48709#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list