Make WordPress Core

Changeset 32859


Ignore:
Timestamp:
06/19/2015 05:23:46 PM (9 years ago)
Author:
ocean90
Message:

Customizer: Improve accessibility of the toggle button in the available menu items panel.

Prevents focus lost in Safari because the button was "invisible" until it got focused.

fixes #32709.

File:
1 edited

Legend:

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

    r32825 r32859  
    626626}
    627627
    628 #available-menu-items .accordion-section-title button:focus:before {
    629     display: block;
    630     content: "";
     628#available-menu-items .accordion-section-title button {
     629    display: block;
    631630    width: 28px;
    632631    height: 32px;
    633632    position: absolute;
     633    top: 5px;
    634634    right: 5px;
    635     top: 5px;
     635}
     636
     637#available-menu-items .accordion-section-title button:focus {
    636638    -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
    637639    box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
Note: See TracChangeset for help on using the changeset viewer.