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:
parent
32d296fb6a
commit
3484a266a1
|
@ -45,7 +45,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
<form action="options.php" method="post">
|
||||
<?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>
|
||||
|
||||
<table class="form-table">
|
||||
|
@ -89,14 +89,14 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
* @global array $wp_settings
|
||||
*/
|
||||
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">
|
||||
<?php do_settings_fields( 'media', 'embeds' ); ?>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( !is_multisite() ) : ?>
|
||||
<h3 class="title"><?php _e('Uploading Files'); ?></h3>
|
||||
<h2 class="title"><?php _e('Uploading Files'); ?></h2>
|
||||
<table class="form-table">
|
||||
<?php
|
||||
// If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty)
|
||||
|
|
Loading…
Reference in New Issue