Bump H4 headings to H2 in the Updates screen for better accessibility.

Fixes #34265.
Built from https://develop.svn.wordpress.org/trunk@35219


git-svn-id: http://core.svn.wordpress.org/trunk@35185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2015-10-16 15:45:28 +00:00
parent 0df9abe092
commit 7f4a0ebbf3
6 changed files with 9 additions and 5 deletions

View File

@ -337,6 +337,8 @@ h3 {
margin: 1em 0;
}
.update-php h2,
.update-core-php h2,
h4 {
font-size: 1em;
margin: 1.33em 0;

View File

@ -337,6 +337,8 @@ h3 {
margin: 1em 0;
}
.update-php h2,
.update-core-php h2,
h4 {
font-size: 1em;
margin: 1.33em 0;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -369,7 +369,7 @@ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin {
*/
public function before($title = '') {
$this->in_loop = true;
printf( '<h4>' . $this->upgrader->strings['skin_before_update_header'] . ' <span class="spinner waiting-' . $this->upgrader->update_current . '"></span></h4>', $title, $this->upgrader->update_current, $this->upgrader->update_count);
printf( '<h2>' . $this->upgrader->strings['skin_before_update_header'] . ' <span class="spinner waiting-' . $this->upgrader->update_current . '"></span></h2>', $title, $this->upgrader->update_current, $this->upgrader->update_count );
echo '<script type="text/javascript">jQuery(\'.waiting-' . esc_js($this->upgrader->update_current) . '\').css("display", "inline-block");</script>';
echo '<div class="update-messages hide-if-js" id="progress-' . esc_attr($this->upgrader->update_current) . '"><p>';
$this->flush_output();
@ -805,7 +805,7 @@ class Language_Pack_Upgrader_Skin extends WP_Upgrader_Skin {
echo '<div class="update-messages lp-show-latest">';
printf( '<h4>' . __( 'Updating translations for %1$s (%2$s)&#8230;' ) . '</h4>', $name, $this->language_update->language );
printf( '<h2>' . __( 'Updating translations for %1$s (%2$s)&#8230;' ) . '</h2>', $name, $this->language_update->language );
}
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-35218';
$wp_version = '4.4-alpha-35219';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.