diff --git a/src/wp-includes/class-walker-category.php b/src/wp-includes/class-walker-category.php
index c881e68..bfea72b 100644
--- a/src/wp-includes/class-walker-category.php
+++ b/src/wp-includes/class-walker-category.php
@@ -111,6 +111,21 @@ class Walker_Category extends Walker {
 		$atts         = array();
 		$atts['href'] = get_term_link( $category );
 
+		// Add aria-curent attribute to the current category.
+		$_current_terms = get_terms(
+			$category->taxonomy,
+			array(
+				'include'    => $args['current_category'],
+				'hide_empty' => false,
+			)
+		);
+		$aria_current = '';
+		foreach ( $_current_terms as $_current_term ) {
+			if ( $category->term_id == $_current_term->term_id ) {
+				$aria_current = ' aria-current="page"';
+			}
+		}
+
 		if ( $args['use_desc_for_title'] && ! empty( $category->description ) ) {
 			/**
 			 * Filters the category description for display.
@@ -145,7 +160,7 @@ class Walker_Category extends Walker {
 		foreach ( $atts as $attr => $value ) {
 			if ( ! empty( $value ) ) {
 				$value       = ( 'href' === $attr ) ? esc_url( $value ) : esc_attr( $value );
-				$attributes .= ' ' . $attr . '="' . $value . '"';
+				$attributes .= ' ' . $attr . '="' . $value . '"' . $aria_current;
 			}
 		}
 
diff --git a/src/wp-includes/widgets/class-wp-widget-recent-posts.php b/src/wp-includes/widgets/class-wp-widget-recent-posts.php
index c137849..d9403bf 100644
--- a/src/wp-includes/widgets/class-wp-widget-recent-posts.php
+++ b/src/wp-includes/widgets/class-wp-widget-recent-posts.php
@@ -93,11 +93,12 @@ class WP_Widget_Recent_Posts extends WP_Widget {
 		<ul>
 			<?php foreach ( $r->posts as $recent_post ) : ?>
 				<?php
-				$post_title = get_the_title( $recent_post->ID );
-				$title      = ( ! empty( $post_title ) ) ? $post_title : __( '(no title)' );
+				$post_title   = get_the_title( $recent_post->ID );
+				$title        = ( ! empty( $post_title ) ) ? $post_title : __( '(no title)' );
+				$aria_current = ( $recent_post->ID === get_the_ID() ) ? ' aria-current="page"' : '';
 				?>
 				<li>
-					<a href="<?php the_permalink( $recent_post->ID ); ?>"><?php echo $title; ?></a>
+					<a href="<?php the_permalink( $recent_post->ID ); ?>"<?php echo $aria_current; ?>><?php echo $title; ?></a>
 					<?php if ( $show_date ) : ?>
 						<span class="post-date"><?php echo get_the_date( '', $recent_post->ID ); ?></span>
 					<?php endif; ?>
