[wp-trac] [WordPress Trac] #47117: Media modals: Focus is invisible in Windows high contrast views
WordPress Trac
noreply at wordpress.org
Sun Sep 22 16:38:40 UTC 2019
#47117: Media modals: Focus is invisible in Windows high contrast views
-----------------------------+--------------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.3
Component: Media | Version:
Severity: normal | Resolution:
Keywords: wpcampus-report | Focuses: ui, accessibility
-----------------------------+--------------------------------
Comment (by joedolson):
I think that the most reasonable resolution to the media icons is to
remove the background image and replace with dashicons. Dashicons render
in high contrast mode, so they would allow that context to be visible.
I've done a quick test of concept, and it works just by adding dashicons
classes to the relevant items, and adding a :hover/:focus state that
changes the icon out when focused. There would be some clean-up required
to remove obsolete CSS, and it's possible that the background sprite would
no longer be in use afterwards. I'm not seeing another use of it in media-
views.css, but I haven't explored more broadly yet.
I can do a partial patch for this, but the swap to dashicons would require
some CSS changes to clean up the design that I'm not confident of.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47117#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list