Bump H3 headings to H2 on the Theme Editor screen for better accessibility.
Props mrahmadawais. Fixes #33660. Built from https://develop.svn.wordpress.org/trunk@34066 git-svn-id: http://core.svn.wordpress.org/trunk@34034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
085d051305
commit
f446d01b4c
|
@ -2773,7 +2773,7 @@ img {
|
|||
}
|
||||
|
||||
/* Theme/Plugin Editor */
|
||||
.alignleft h3 {
|
||||
.alignleft h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
@ -2801,7 +2801,7 @@ img {
|
|||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
#templateside h3,
|
||||
#templateside h2,
|
||||
#postcustomstuff p.submit {
|
||||
margin: 0;
|
||||
}
|
||||
|
|
|
@ -2773,7 +2773,7 @@ img {
|
|||
}
|
||||
|
||||
/* Theme/Plugin Editor */
|
||||
.alignleft h3 {
|
||||
.alignleft h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
@ -2801,7 +2801,7 @@ img {
|
|||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
#templateside h3,
|
||||
#templateside h2,
|
||||
#postcustomstuff p.submit {
|
||||
margin: 0;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -135,7 +135,7 @@ if ( $description != $file_show )
|
|||
|
||||
<div class="fileedit-sub">
|
||||
<div class="alignleft">
|
||||
<h3><?php echo $theme->display('Name'); if ( $description ) echo ': ' . $description; ?></h3>
|
||||
<h2><?php echo $theme->display( 'Name' ); if ( $description ) echo ': ' . $description; ?></h2>
|
||||
</div>
|
||||
<div class="alignright">
|
||||
<form action="theme-editor.php" method="post">
|
||||
|
@ -165,7 +165,7 @@ if ( $theme->errors() )
|
|||
if ( $allowed_files ) :
|
||||
if ( $has_templates || $theme->parent() ) :
|
||||
?>
|
||||
<h3><?php _e('Templates'); ?></h3>
|
||||
<h2><?php _e( 'Templates' ); ?></h2>
|
||||
<?php if ( $theme->parent() ) : ?>
|
||||
<p class="howto"><?php printf( __( 'This child theme inherits templates from a parent theme, %s.' ), '<a href="' . self_admin_url('theme-editor.php?theme=' . urlencode( $theme->get_template() ) ) . '">' . $theme->parent()->display('Name') . '</a>' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
@ -175,7 +175,7 @@ if ( $allowed_files ) :
|
|||
|
||||
foreach ( $allowed_files as $filename => $absolute_filename ) :
|
||||
if ( 'style.css' == $filename )
|
||||
echo "\t</ul>\n\t<h3>" . _x( 'Styles', 'Theme stylesheets in theme editor' ) . "</h3>\n\t<ul>\n";
|
||||
echo "\t</ul>\n\t<h2>" . _x( 'Styles', 'Theme stylesheets in theme editor' ) . "</h2>\n\t<ul>\n";
|
||||
|
||||
$file_description = get_file_description( $absolute_filename );
|
||||
if ( $file_description != basename( $filename ) )
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34065';
|
||||
$wp_version = '4.4-alpha-34066';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue