[wp-trac] [WordPress Trac] #41286: Focus style and High Contrast Mode
WordPress Trac
noreply at wordpress.org
Sun Feb 25 13:13:04 UTC 2018
#41286: Focus style and High Contrast Mode
-----------------------------------------+--------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-screenshots ui-feedback | Focuses: ui, accessibility
-----------------------------------------+--------------------------------
Comment (by afercia):
Worth mentioning the solution implemented for Gutenberg by Joen Asmussen,
see https://github.com/WordPress/gutenberg/pull/5138 which uses a 2 pixels
'''transparent''' outline on focus:
> It relies on the fact that Windows High Contrast mode omits box shadows
entirely, but it shows any border or outline, even if they are
transparent. We leverage that to show thick and visually helpful focus
outlines in this high contrast mode — 2px solid transparent. They will
show up in high contrast mode, not in normal mode. See also this codepen.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41286#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list