diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php
index cf0c05c2ab..47194a5b7e 100644
--- a/wp-admin/includes/class-wp-list-table.php
+++ b/wp-admin/includes/class-wp-list-table.php
@@ -631,12 +631,15 @@ class WP_List_Table {
modes as $mode => $title ) {
- $classes = array( 'view-' . $mode );
+ $classes = array( 'view-' . $mode );
+ $aria_current = '';
+
if ( $current_mode === $mode ) {
- $classes[] = 'current';
+ $classes[] = 'current';
+ $aria_current = ' aria-current="page"';
}
printf(
- "
%s\n",
+ "
%s\n",
esc_url( add_query_arg( 'mode', $mode ) ),
implode( ' ', $classes ),
$title
diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php
index 978772d732..9c86bb47ca 100644
--- a/wp-includes/media-template.php
+++ b/wp-includes/media-template.php
@@ -318,7 +318,7 @@ function wp_print_media_templates() {
-
+
diff --git a/wp-includes/version.php b/wp-includes/version.php
index f415187a2a..3cfa87e751 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
-$wp_version = '5.3.1-alpha-46776';
+$wp_version = '5.3.1-alpha-46777';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.