Bump H3 headings to H2 on the Media Settings screen for better accessibility.

Props metodiew.
Fixes #33610.


git-svn-id: https://develop.svn.wordpress.org/trunk@33915 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-09-05 20:11:24 +00:00
parent 32d296fb6a
commit 3484a266a1

View File

@ -45,7 +45,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<form action="options.php" method="post"> <form action="options.php" method="post">
<?php settings_fields('media'); ?> <?php settings_fields('media'); ?>
<h3 class="title"><?php _e('Image sizes') ?></h3> <h2 class="title"><?php _e('Image sizes') ?></h2>
<p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p> <p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p>
<table class="form-table"> <table class="form-table">
@ -89,14 +89,14 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
* @global array $wp_settings * @global array $wp_settings
*/ */
if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?> if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
<h3 class="title"><?php _e('Embeds') ?></h3> <h2 class="title"><?php _e('Embeds') ?></h2>
<table class="form-table"> <table class="form-table">
<?php do_settings_fields( 'media', 'embeds' ); ?> <?php do_settings_fields( 'media', 'embeds' ); ?>
</table> </table>
<?php endif; ?> <?php endif; ?>
<?php if ( !is_multisite() ) : ?> <?php if ( !is_multisite() ) : ?>
<h3 class="title"><?php _e('Uploading Files'); ?></h3> <h2 class="title"><?php _e('Uploading Files'); ?></h2>
<table class="form-table"> <table class="form-table">
<?php <?php
// If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty) // If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty)