Make WordPress Core


Ignore:
Timestamp:
09/22/2019 09:58:06 PM (4 years ago)
Author:
afercia
Message:

Accessibility: Twenty Nineteen: Improve the special pages headings.

Improves information provided by the headings, their alignment and spacing in the following special pages:

  • search page with and without search results
  • 404 page (no content)
  • archive pages

Props ianbelanger, kjellr, nrqsnchz, audrasjb.
Fixes #47140.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/search.php

    r45942 r46234  
    2020            <header class="page-header">
    2121                <h1 class="page-title">
    22                     <?php _e( 'Search results for:', 'twentynineteen' ); ?>
     22                    <?php _e( 'Search results for: ', 'twentynineteen' ); ?>
     23                    <span class="page-description"><?php echo get_search_query(); ?></span>
    2324                </h1>
    24                 <div class="page-description"><?php echo get_search_query(); ?></div>
    2525            </header><!-- .page-header -->
    2626
Note: See TracChangeset for help on using the changeset viewer.