WordPress.org

Make WordPress Core

Changeset 45070


Ignore:
Timestamp:
03/29/2019 06:26:28 PM (5 months ago)
Author:
afercia
Message:

Accessibility: Make sure the Site Health pages have a unique document title.

The document <title> gives a name to a web document. In the context of the WordPress admin, a unique, meaningful, title is important for various reasons:

  • it allows browser's history to store meaningful entries
  • when multiple browser's tabs are open, it allows users to better identify the tab content
  • it's the first thing screen readers announce when navigating to a web page, thus helping users to identify the nature of the page content

Props chetan200891, mukesh27.
Fixes #46699.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/site-health-info.php

    r45068 r45070  
    99/** WordPress Administration Bootstrap */
    1010require_once( dirname( __FILE__ ) . '/admin.php' );
     11
     12$title = __( 'Site Health Info' );
    1113
    1214if ( ! current_user_can( 'install_plugins' ) ) {
  • trunk/src/wp-admin/site-health.php

    r45050 r45070  
    1414/** WordPress Administration Bootstrap */
    1515require_once( dirname( __FILE__ ) . '/admin.php' );
     16
     17$title = __( 'Site Health Status' );
    1618
    1719if ( ! current_user_can( 'install_plugins' ) ) {
Note: See TracChangeset for help on using the changeset viewer.