WordPress.org

Make WordPress Core

Changeset 45839


Ignore:
Timestamp:
08/19/2019 04:28:20 AM (4 weeks ago)
Author:
SergeyBiryukov
Message:

Accessibility: Fix the headings hierarchy in the legacy Custom Background and Custom Header pages.

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

Location:
branches/5.2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/src/wp-admin/custom-background.php

    r45834 r45839  
    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">
     
    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">
  • branches/5.2/src/wp-admin/custom-header.php

    r45834 r45839  
    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">
     
    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">
Note: See TracChangeset for help on using the changeset viewer.