Make WordPress Core


Ignore:
Timestamp:
09/10/2021 02:47:24 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Accessibility: Administration: Improve aria-label on network admin Themes screen.

This ensures that the beginning of the label matches the visible link text.

Add a similar label for the plugin URI link on the Plugins screen when the plugin is outside of the directory.

Follow-up to [28673], [28706], [35924].

Props sabernhardt, zeo, audrasjb.
Fixes #24442.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php

    r51735 r51795  
    722722        if ( $theme->get( 'ThemeURI' ) ) {
    723723            /* translators: %s: Theme name. */
    724             $aria_label = sprintf( __( 'Visit %s homepage' ), $theme->display( 'Name' ) );
     724            $aria_label = sprintf( __( 'Visit theme site for %s' ), $theme->display( 'Name' ) );
    725725
    726726            $theme_meta[] = sprintf(
Note: See TracChangeset for help on using the changeset viewer.