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. Built from https://develop.svn.wordpress.org/trunk@35496 git-svn-id: http://core.svn.wordpress.org/trunk@35460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6b14ca9407
commit
40a58409d8
|
@ -2018,7 +2018,7 @@ html.wp-toolbar {
|
|||
}
|
||||
|
||||
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||
h2.nav-tab-wrapper,
|
||||
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
||||
h3.nav-tab-wrapper {
|
||||
border-bottom: 1px solid #ccc;
|
||||
margin: 0;
|
||||
|
|
|
@ -2018,7 +2018,7 @@ html.wp-toolbar {
|
|||
}
|
||||
|
||||
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||
h2.nav-tab-wrapper,
|
||||
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
||||
h3.nav-tab-wrapper {
|
||||
border-bottom: 1px solid #ccc;
|
||||
margin: 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-beta2-35495';
|
||||
$wp_version = '4.4-beta2-35496';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue