diff --git a/src/wp-includes/class-walker-category.php b/src/wp-includes/class-walker-category.php
index 7b13264..2a03456 100644
--- a/src/wp-includes/class-walker-category.php
+++ b/src/wp-includes/class-walker-category.php
@@ -108,7 +108,9 @@ class Walker_Category extends Walker {
 			return;
 		}
 
-		$link = '<a href="' . esc_url( get_term_link( $category ) ) . '" ';
+		$atts = array();
+		$atts['href'] = get_term_link( $category );
+		
 		if ( $args['use_desc_for_title'] && ! empty( $category->description ) ) {
 			/**
 			 * Filters the category description for display.
@@ -118,11 +120,40 @@ class Walker_Category extends Walker {
 			 * @param string $description Category description.
 			 * @param object $category    Category object.
 			 */
-			$link .= 'title="' . esc_attr( strip_tags( apply_filters( 'category_description', $category->description, $category ) ) ) . '"';
+			$atts['title'] = strip_tags( apply_filters( 'category_description', $category->description, $category ) );
 		}
 
-		$link .= '>';
-		$link .= $cat_name . '</a>';
+		/**
+		 * Filters the HTML attributes applied to a category menu item's anchor element.
+		 *
+		 * @since 5.2.0
+		 *
+		 * @param array $atts {
+		 *     The HTML attributes applied to the menu item's `<a>` element, empty strings are ignored.
+		 *
+		 *     @type string $href The href attribute.
+		 *     @type string $title The title attribute.
+		 * }
+		 * @param WP_Term $category         Term data object.
+		 * @param int     $depth            Depth of category, used for padding.
+		 * @param array   $args             An array of arguments.
+		 * @param int     $current_category ID of the current category.
+		 */
+		$atts = apply_filters( 'category_menu_link_attributes', $atts, $category, $depth, $args, $id );
+		
+		$attributes = '';
+		foreach ( $atts as $attr => $value ) {
+			if ( ! empty( $value ) ) {
+				$value = esc_attr( $value );
+				$attributes .= ' ' . $attr . '="' . $value . '"';
+			}
+		}
+
+		$link = sprintf(
+			'<a%s>%s</a>',
+			$attributes,
+			$cat_name
+		);
 
 		if ( ! empty( $args['feed_image'] ) || ! empty( $args['feed'] ) ) {
 			$link .= ' ';
