diff --git a/src/wp-admin/includes/class-wp-ms-themes-list-table.php b/src/wp-admin/includes/class-wp-ms-themes-list-table.php
index dd6b6d6c17..e87da5ca7a 100644
--- a/src/wp-admin/includes/class-wp-ms-themes-list-table.php
+++ b/src/wp-admin/includes/class-wp-ms-themes-list-table.php
@@ -721,7 +721,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
if ( $theme->get( 'ThemeURI' ) ) {
/* translators: %s: Theme name. */
- $aria_label = sprintf( __( 'Visit %s homepage' ), $theme->display( 'Name' ) );
+ $aria_label = sprintf( __( 'Visit theme site for %s' ), $theme->display( 'Name' ) );
$theme_meta[] = sprintf(
'%s',
diff --git a/src/wp-admin/includes/class-wp-plugins-list-table.php b/src/wp-admin/includes/class-wp-plugins-list-table.php
index a5831dad17..32af4ad8ae 100644
--- a/src/wp-admin/includes/class-wp-plugins-list-table.php
+++ b/src/wp-admin/includes/class-wp-plugins-list-table.php
@@ -1066,9 +1066,13 @@ class WP_Plugins_List_Table extends WP_List_Table {
__( 'View details' )
);
} elseif ( ! empty( $plugin_data['PluginURI'] ) ) {
+ /* translators: %s: Plugin name. */
+ $aria_label = sprintf( __( 'Visit plugin site for %s' ), $plugin_name );
+
$plugin_meta[] = sprintf(
- '%s',
+ '%s',
esc_url( $plugin_data['PluginURI'] ),
+ esc_attr( $aria_label ),
__( 'Visit plugin site' )
);
}