WordPress.org

Make WordPress Core

Changeset 35496


Ignore:
Timestamp:
11/03/2015 08:48:21 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Accessibility: After [35130], adjust the h2.nav-tab-wrapper selector to only override .wrap > h2:first-child.

This improves compatibility with plugins that use navigation tabs as a first H2 heading on their screens.

Props afercia.
Fixes #33559.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r35448 r35496  
    20192019
    20202020h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
    2021 h2.nav-tab-wrapper,
     2021.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
    20222022h3.nav-tab-wrapper {
    20232023    border-bottom: 1px solid #ccc;
Note: See TracChangeset for help on using the changeset viewer.