Skip to content
Permalink
Browse files

Accessibility: Fix the headings hierarchy in the legacy Custom Backgr…

…ound and Custom Header pages.

Props afercia.
Merges [45411] to the 5.2 branch.
Fixes #47386.

git-svn-id: https://develop.svn.wordpress.org/branches/5.2@45839 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Aug 19, 2019
1 parent 366e070 commit b44a106e4ddb94f3e04717cc45ed8cfbcd71e23d
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/wp-admin/custom-background.php
  2. +2 −2 src/wp-admin/custom-header.php
@@ -244,7 +244,7 @@ public function admin_page() {
</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 @@ public function admin_page() {
</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 @@ public function step_1() {
</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 @@ public function step_1() {

<?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>

0 comments on commit b44a106

Please sign in to comment.
You can’t perform that action at this time.