Skip to content

Commit 57ebd24

Browse files
committed
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
1 parent dd40790 commit 57ebd24

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/wp-admin/custom-background.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function admin_page() {
244244
</div>
245245
<?php } ?>
246246

247-
<h3><?php _e( 'Background Image' ); ?></h3>
247+
<h2><?php _e( 'Background Image' ); ?></h2>
248248

249249
<table class="form-table" role="presentation">
250250
<tbody>
@@ -338,7 +338,7 @@ public function admin_page() {
338338
</tbody>
339339
</table>
340340

341-
<h3><?php _e( 'Display Options' ); ?></h3>
341+
<h2><?php _e( 'Display Options' ); ?></h2>
342342
<form method="post">
343343
<table class="form-table" role="presentation">
344344
<tbody>

src/wp-admin/custom-header.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ public function step_1() {
488488
</div>
489489
<?php } ?>
490490

491-
<h3><?php _e( 'Header Image' ); ?></h3>
491+
<h2><?php _e( 'Header Image' ); ?></h2>
492492

493493
<table class="form-table" role="presentation">
494494
<tbody>
@@ -687,7 +687,7 @@ public function step_1() {
687687

688688
<?php if ( current_theme_supports( 'custom-header', 'header-text' ) ) : ?>
689689

690-
<h3><?php _e( 'Header Text' ); ?></h3>
690+
<h2><?php _e( 'Header Text' ); ?></h2>
691691

692692
<table class="form-table" role="presentation">
693693
<tbody>

0 commit comments

Comments
 (0)