Accessibility: Fix the headings hierarchy in the legacy Custom Background and Custom Header pages.
Fixes #47386. git-svn-id: https://develop.svn.wordpress.org/trunk@45411 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dd40790dad
commit
57ebd24077
@ -244,7 +244,7 @@ class Custom_Background {
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<h3><?php _e( 'Background Image' ); ?></h3>
|
||||
<h2><?php _e( 'Background Image' ); ?></h2>
|
||||
|
||||
<table class="form-table" role="presentation">
|
||||
<tbody>
|
||||
@ -338,7 +338,7 @@ class Custom_Background {
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3><?php _e( 'Display Options' ); ?></h3>
|
||||
<h2><?php _e( 'Display Options' ); ?></h2>
|
||||
<form method="post">
|
||||
<table class="form-table" role="presentation">
|
||||
<tbody>
|
||||
|
@ -488,7 +488,7 @@ class Custom_Image_Header {
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<h3><?php _e( 'Header Image' ); ?></h3>
|
||||
<h2><?php _e( 'Header Image' ); ?></h2>
|
||||
|
||||
<table class="form-table" role="presentation">
|
||||
<tbody>
|
||||
@ -687,7 +687,7 @@ class Custom_Image_Header {
|
||||
|
||||
<?php if ( current_theme_supports( 'custom-header', 'header-text' ) ) : ?>
|
||||
|
||||
<h3><?php _e( 'Header Text' ); ?></h3>
|
||||
<h2><?php _e( 'Header Text' ); ?></h2>
|
||||
|
||||
<table class="form-table" role="presentation">
|
||||
<tbody>
|
||||
|
Loading…
Reference in New Issue
Block a user