Make WordPress Core

Changeset 38642


Ignore:
Timestamp:
09/22/2016 02:58:41 PM (8 years ago)
Author:
afercia
Message:

Accessibility: Fix the Customizer available menu items toggles focus for Safari and VoiceOver.

In rare circumstances, for example buttons with icons and no visible text,
user-select: none; may trigger a bug that happens only when using Safari and
VoiceOver and doesn't allow focusable elements to receive focus correctly.
Worth reminding user-select: none; is a non-standard property and should be
used with care especially now that ::selection is almost universally supported.

Fixes #37589.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-nav-menus.css

    r38602 r38642  
    483483    -webkit-transition: background-color 0.15s;
    484484    transition: background-color 0.15s;
     485    /* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
     486    -webkit-user-select: auto;
     487    -moz-user-select: auto;
     488    -ms-user-select: auto;
     489    user-select: auto;
    485490}
    486491
Note: See TracChangeset for help on using the changeset viewer.